Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001309/0.001309, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001481/0.001481, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.474/1.474, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.84 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1051, allocations: 53.37 MB / 427 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003955/0.1091, allocations: 2.51 MB / 429.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006469/0.1097, allocations: 259 kB / 429.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.1099, allocations: 11.88 kB / 429.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1101, allocations: 43.58 kB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.1103, allocations: 95.19 kB / 430 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.1105, allocations: 59.86 kB / 430 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.1109, allocations: 318.6 kB / 430.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.1111, allocations: 75.11 kB / 430.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1113, allocations: 123.5 kB / 430.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1115, allocations: 127.5 kB / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.1115, allocations: 24 kB / 430.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.888e-05/0.1116, allocations: 28 kB / 430.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.1117, allocations: 59.77 kB / 430.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.1118, allocations: 151.3 kB / 430.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.1122, allocations: 314.6 kB / 431.2 MB, free: 448 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1122, allocations: 0 / 431.2 MB, free: 448 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1122, allocations: 3.938 kB / 431.2 MB, free: 444 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1122, allocations: 0 / 431.2 MB, free: 444 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.1693/0.2815, allocations: 0.5716 MB / 431.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.2816, allocations: 9.812 kB / 431.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.039e-05/0.2816, allocations: 7.156 kB / 431.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.2816, allocations: 61.23 kB / 431.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.2817, allocations: 34.86 kB / 431.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.282, allocations: 245.6 kB / 432.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.282, allocations: 21.16 kB / 432.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.2821, allocations: 26.2 kB / 432.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.2825, allocations: 261.4 kB / 432.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.2825, allocations: 1.312 kB / 432.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.2825, allocations: 12.27 kB / 432.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2825, allocations: 6.094 kB / 432.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.2828, allocations: 173.5 kB / 432.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008632/0.2837, allocations: 0.755 MB / 433.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.2841, allocations: 258.6 kB / 433.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.2842, allocations: 115.8 kB / 433.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.2842, allocations: 4.656 kB / 433.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.2842, allocations: 36.5 kB / 433.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/0.2842, allocations: 2 kB / 433.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002283/0.2865, allocations: 1.713 MB / 435.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.2865, allocations: 82.58 kB / 435.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.2867, allocations: 187.3 kB / 435.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.2867, allocations: 34.77 kB / 435.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.2868, allocations: 139.6 kB / 435.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.2868, allocations: 191 kB / 436.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.2869, allocations: 71.36 kB / 436.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.985e-05/0.287, allocations: 337.7 kB / 436.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.2871, allocations: 102.2 kB / 436.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.2873, allocations: 159.2 kB / 436.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.2877, allocations: 290.5 kB / 437.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2877, allocations: 3.062 kB / 437.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004572/0.2881, allocations: 366.5 kB / 437.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2881, allocations: 11.03 kB / 437.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2881, allocations: 1.406 kB / 437.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2882, allocations: 6.094 kB / 437.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.2885, allocations: 101.9 kB / 437.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.2885, allocations: 3.188 kB / 437.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.2886, allocations: 11.38 kB / 437.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.2887, allocations: 15.78 kB / 437.6 MB, free: 7.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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 9.971e-05/0.2888, allocations: 159 kB / 437.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.2888, allocations: 29.38 kB / 437.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.002e-05/0.2889, allocations: 34.28 kB / 437.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2889, allocations: 7.312 kB / 437.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2889, allocations: 3.281 kB / 437.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2889, allocations: 5.031 kB / 437.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.29, allocations: 0.9451 MB / 438.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2901, allocations: 2.531 kB / 438.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/0.2907, allocations: 93.8 kB / 438.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.2907, allocations: 8.625 kB / 438.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.2907, allocations: 10.81 kB / 438.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.2907, allocations: 3.188 kB / 438.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2907, allocations: 4.922 kB / 438.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.2914, allocations: 0.6419 MB / 439.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.2914, allocations: 100.2 kB / 439.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.2915, allocations: 11.56 kB / 439.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.2916, allocations: 14.41 kB / 439.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.2917, allocations: 28.12 kB / 439.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2917, allocations: 13.22 kB / 439.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.927e-05/0.2918, allocations: 135.5 kB / 439.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2918, allocations: 0 / 439.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003635/0.2922, allocations: 81.31 kB / 439.9 MB, free: 6.305 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.0008828/0.293, allocations: 1.193 MB / 441.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004791/0.2935, allocations: 282.8 kB / 441.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2935, allocations: 0 / 441.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.2938, allocations: 151.1 kB / 441.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.2944, allocations: 61.12 kB / 441.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.2979, allocations: 3.3 MB / 444.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.2981, allocations: 0.7746 MB / 445.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.2982, allocations: 30.98 kB / 445.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.2983, allocations: 96.47 kB / 445.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2983, allocations: 0 / 445.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.3265, allocations: 6.2 MB / 452 MB, free: 1.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.631, allocations: 5.109 kB / 452 MB, free: 1.418 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,m1.s,m1.v,m3.s,m3.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel Variables in the result:der(der(m2.flange_a.s)),der(der(m4.flange_a.s)),der(der(sd1.flange_a.s)),der(der(sd2.flange_a.s)),der(m1.s),der(m1.v),der(m2.flange_a.s),der(m2.s),der(m2.v),der(m3.s),der(m3.v),der(m4.flange_a.s),der(m4.s),der(m4.v),der(sd1.flange_a.s),der(sd1.s_rel),der(sd1.v_rel),der(sd2.flange_a.s),der(sd2.s_rel),der(sd2.v_rel),fixed1.flange.f,fixed1.flange.s,fixed1.s0,fixed2.flange.f,fixed2.flange.s,fixed2.s0,m1.L,m1.a,m1.flange_a.f,m1.flange_a.s,m1.flange_b.f,m1.flange_b.s,m1.m,m1.s,m1.stateSelect,m1.v,m2.L,m2.a,m2.flange_a.f,m2.flange_a.s,m2.flange_b.f,m2.flange_b.s,m2.m,m2.s,m2.stateSelect,m2.v,m3.L,m3.a,m3.flange_a.f,m3.flange_a.s,m3.flange_b.f,m3.flange_b.s,m3.m,m3.s,m3.stateSelect,m3.v,m4.L,m4.a,m4.flange_a.f,m4.flange_a.s,m4.flange_b.f,m4.flange_b.s,m4.m,m4.s,m4.stateSelect,m4.v,s1.c,s1.f,s1.flange_a.f,s1.flange_a.s,s1.flange_b.f,s1.flange_b.s,s1.s_rel,s1.s_rel0,s2.c,s2.f,s2.flange_a.f,s2.flange_a.s,s2.flange_b.f,s2.flange_b.s,s2.s_rel,s2.s_rel0,sd1.c,sd1.d,sd1.f,sd1.flange_a.f,sd1.flange_a.s,sd1.flange_b.f,sd1.flange_b.s,sd1.lossPower,sd1.s_nominal,sd1.s_rel,sd1.s_rel0,sd1.stateSelect,sd1.useHeatPort,sd1.v_rel,sd2.c,sd2.d,sd2.f,sd2.flange_a.f,sd2.flange_a.s,sd2.flange_b.f,sd2.flange_b.s,sd2.lossPower,sd2.s_nominal,sd2.s_rel,sd2.s_rel0,sd2.stateSelect,sd2.useHeatPort,sd2.v_rel,time [Calling sys.exit(0), Time elapsed: 11.364026323019061]