Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 214.8 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 67.89 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2568, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003318/0.2601, allocations: 2.129 MB / 433.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003634/0.2605, allocations: 167.4 kB / 433.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.2605, allocations: 3.938 kB / 433.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.2607, allocations: 27.73 kB / 433.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.216e-05/0.2608, allocations: 51.56 kB / 433.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.2609, allocations: 35.95 kB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.2612, allocations: 187.2 kB / 433.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2613, allocations: 38.42 kB / 433.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.2614, allocations: 75.66 kB / 433.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.2615, allocations: 75.62 kB / 434 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.2615, allocations: 20 kB / 434 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.504e-05/0.2616, allocations: 12 kB / 434 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.2616, allocations: 35.86 kB / 434 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.2617, allocations: 79.59 kB / 434.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.2619, allocations: 179.6 kB / 434.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2619, allocations: 0 / 434.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2619, allocations: 0 / 434.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2619, allocations: 4 kB / 434.3 MB, free: 3.582 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006185/0.2625, allocations: 389.6 kB / 434.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2626, allocations: 8.031 kB / 434.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.2626, allocations: 54.67 kB / 434.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.2627, allocations: 24.8 kB / 434.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.2629, allocations: 154.3 kB / 434.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.263, allocations: 16.16 kB / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.263, allocations: 24.33 kB / 434.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.2633, allocations: 182.2 kB / 435.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.2633, allocations: 7.938 kB / 435.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2633, allocations: 4 kB / 435.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2633, allocations: 7.938 kB / 435.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.2635, allocations: 103.9 kB / 435.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.2648, allocations: 0.9188 MB / 436.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.2649, allocations: 103.8 kB / 436.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.643e-05/0.265, allocations: 38.52 kB / 436.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.265, allocations: 8.078 kB / 436.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.265, allocations: 34.56 kB / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.265, allocations: 0 / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002972/0.2653, allocations: 129.5 kB / 436.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.2654, allocations: 110.8 kB / 436.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.2656, allocations: 207.7 kB / 436.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.2656, allocations: 33.7 kB / 436.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.2658, allocations: 144 kB / 436.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.2658, allocations: 47.62 kB / 437 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.2659, allocations: 45.91 kB / 437 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.2661, allocations: 330.8 kB / 437.4 MB, free: 228 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.176e-05/0.2661, allocations: 44.45 kB / 437.4 MB, free: 184 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.2663, allocations: 138.7 kB / 437.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.2665, allocations: 198 kB / 437.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2665, allocations: 0 / 437.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003207/0.2669, allocations: 221.3 kB / 437.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2669, allocations: 8 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2669, allocations: 7.938 kB / 438 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2669, allocations: 4 kB / 438 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.2671, allocations: 51.91 kB / 438 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2671, allocations: 8.344 kB / 438 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.2672, allocations: 39.67 kB / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.2672, allocations: 12 kB / 438.1 MB, free: 15.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.2673, allocations: 133.7 kB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.2674, allocations: 19.91 kB / 438.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.2674, allocations: 21.02 kB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2674, allocations: 4 kB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2674, allocations: 0 / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2674, allocations: 3.938 kB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.2679, allocations: 208.6 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2679, allocations: 4 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.268, allocations: 31.92 kB / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.268, allocations: 0 / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.268, allocations: 8 kB / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.268, allocations: 0 / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.268, allocations: 3.938 kB / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.2684, allocations: 393.8 kB / 438.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.2684, allocations: 15.84 kB / 438.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.2684, allocations: 12.05 kB / 438.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2686, allocations: 0 / 438.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.2686, allocations: 11.92 kB / 438.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2686, allocations: 4.125 kB / 438.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.2687, allocations: 153.5 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2687, allocations: 0 / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.2691, allocations: 39.95 kB / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006143/0.2697, allocations: 0.9179 MB / 440 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.2699, allocations: 104.3 kB / 440.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2699, allocations: 0 / 440.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.894e-05/0.27, allocations: 35.92 kB / 440.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.2705, allocations: 31.33 kB / 440.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.2734, allocations: 2.633 MB / 442.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.2738, allocations: 0.7281 MB / 443.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.936e-05/0.2738, allocations: 21.94 kB / 443.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.2739, allocations: 55.36 kB / 443.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2739, allocations: 0 / 443.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.3058, allocations: 3.697 MB / 447.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.13, allocations: 18.3 kB / 447.4 MB, free: 5.941 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.406409803079441]