Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.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.000842/0.000842, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009609/0.0009609, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.885/0.885, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.194e-05, allocations: 3.266 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003211/0.003233, allocations: 3.339 MB / 327.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.004673, allocations: 0.9276 MB / 328.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.004863, allocations: 15.88 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.005049, allocations: 83.16 kB / 328.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.00529, allocations: 178.3 kB / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.005679, allocations: 159.6 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.006153, allocations: 0.6459 MB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.006364, allocations: 130 kB / 330 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005354/0.0069, allocations: 375.2 kB / 330.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.007114, allocations: 219.3 kB / 330.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/0.007166, allocations: 52 kB / 330.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.631e-05/0.007242, allocations: 55.94 kB / 330.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.007301, allocations: 123.5 kB / 330.8 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.007419, allocations: 199.5 kB / 331 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.007856, allocations: 0.6386 MB / 331.6 MB, free: 8.781 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.007858, allocations: 4 kB / 331.6 MB, free: 8.777 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.007859, allocations: 0 / 331.6 MB, free: 8.777 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.007865, allocations: 0 / 331.6 MB, free: 8.777 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.0008877/0.008752, allocations: 0.7737 MB / 332.4 MB, free: 7.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.008788, allocations: 15.98 kB / 332.4 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.403e-05/0.008852, allocations: 82.7 kB / 332.5 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.008972, allocations: 72.55 kB / 332.6 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.009337, allocations: 285.4 kB / 332.8 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.009366, allocations: 41.12 kB / 332.9 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.009419, allocations: 51.95 kB / 332.9 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.009872, allocations: 422.4 kB / 333.3 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.00989, allocations: 4 kB / 333.3 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.009918, allocations: 20 kB / 333.4 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.009927, allocations: 15.94 kB / 333.4 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.01042, allocations: 383.7 kB / 333.8 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.01223, allocations: 1.231 MB / 335 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.01272, allocations: 476.1 kB / 335.5 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.0131, allocations: 311.2 kB / 335.8 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.01313, allocations: 16.58 kB / 335.8 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.01315, allocations: 43.22 kB / 335.8 MB, free: 4.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 1.784e-06/0.01315, allocations: 0 / 335.8 MB, free: 4.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=107): time 0.003748/0.0169, allocations: 2.869 MB / 338.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.01693, allocations: 64.41 kB / 338.7 MB, free: 1.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.01712, allocations: 288.5 kB / 339 MB, free: 1.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.01715, allocations: 41.7 kB / 339.1 MB, free: 1.098 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.01724, allocations: 205.5 kB / 339.3 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.0174, allocations: 380.7 kB / 339.6 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.01753, allocations: 146.7 kB / 339.8 MB, free: 376 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.01763, allocations: 366.8 kB / 340.1 MB, free: 0 / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.01791, allocations: 237.9 kB / 340.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.01822, allocations: 313.4 kB / 340.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008229/0.01904, allocations: 0.5727 MB / 341.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.01904, allocations: 4 kB / 341.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.000715/0.01976, allocations: 0.7393 MB / 342 MB, free: 14.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01977, allocations: 8 kB / 342 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01978, allocations: 4 kB / 342 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01979, allocations: 4 kB / 342 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.02017, allocations: 203.7 kB / 342.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.02018, allocations: 4 kB / 342.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.0203, allocations: 27.98 kB / 342.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.02033, allocations: 28 kB / 342.3 MB, free: 13.85 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0001523/0.02048, allocations: 205.6 kB / 342.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.02054, allocations: 67.56 kB / 342.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.814e-05/0.02062, allocations: 77.62 kB / 342.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.02062, allocations: 8 kB / 342.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.02063, allocations: 0 / 342.6 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.02063, allocations: 11.97 kB / 342.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.02234, allocations: 1.793 MB / 344.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.02234, allocations: 4 kB / 344.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.02271, allocations: 200.2 kB / 344.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.02272, allocations: 12 kB / 344.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.02275, allocations: 27.98 kB / 344.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.02276, allocations: 11.94 kB / 344.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.02276, allocations: 7.938 kB / 344.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.02388, allocations: 1.283 MB / 346 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.02393, allocations: 55.56 kB / 346 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.02398, allocations: 32.05 kB / 346.1 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.02413, allocations: 31.98 kB / 346.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.02421, allocations: 80.75 kB / 346.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.02424, allocations: 28 kB / 346.2 MB, free: 9.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.02436, allocations: 199.1 kB / 346.4 MB, free: 9.539 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02436, allocations: 0 / 346.4 MB, free: 9.539 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.02467, allocations: 160 kB / 346.5 MB, free: 9.383 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 107 * 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.001553/0.02622, allocations: 1.862 MB / 348.4 MB, free: 7.434 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006739/0.0269, allocations: 0.6294 MB / 349 MB, free: 6.809 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.0269, allocations: 4 kB / 349 MB, free: 6.805 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.02727, allocations: 390.3 kB / 349.4 MB, free: 6.422 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.02776, allocations: 133.1 kB / 349.5 MB, free: 6.293 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.03213, allocations: 5.142 MB / 354.7 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.0323, allocations: 276.9 kB / 355 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.0325, allocations: 89.14 kB / 355 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/0.03299, allocations: 212.4 kB / 355.3 MB, free: 352 kB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03299, allocations: 4 kB / 355.3 MB, free: 348 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.06143, allocations: 13.55 MB / 368.8 MB, free: 3.008 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.113, allocations: 3.938 kB / 368.8 MB, free: 3.004 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.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: 8.777521536685526]