Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008213/0.0008213, allocations: 80.44 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008177/0.0008177, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8032/0.8032, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1229/0.1229, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.182e-05, allocations: 2.281 kB / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003636/0.003658, allocations: 3.711 MB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.005492, allocations: 1.072 MB / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003293/0.005821, allocations: 19.88 kB / 411.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.006053, allocations: 102.9 kB / 411.7 MB, free: 13.33 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.006413, allocations: 218 kB / 411.9 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.006931, allocations: 199.5 kB / 412.1 MB, free: 12.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00068/0.007611, allocations: 0.813 MB / 412.9 MB, free: 12.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003094/0.00792, allocations: 156.1 kB / 413.1 MB, free: 11.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005481/0.008468, allocations: 455 kB / 413.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.00872, allocations: 255.3 kB / 413.8 MB, free: 11.26 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.968e-05/0.008789, allocations: 60 kB / 413.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.008928, allocations: 87.92 kB / 413.9 MB, free: 11.11 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.009028, allocations: 151.4 kB / 414.1 MB, free: 10.96 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.009214, allocations: 239.4 kB / 414.3 MB, free: 10.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006596/0.009873, allocations: 0.7903 MB / 415.1 MB, free: 9.938 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.009877, allocations: 0 / 415.1 MB, free: 9.938 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.009878, allocations: 0 / 415.1 MB, free: 9.938 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.009893, allocations: 0 / 415.1 MB, free: 9.938 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001604/0.0115, allocations: 0.9254 MB / 416 MB, free: 8.977 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.01155, allocations: 8.031 kB / 416 MB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.682e-05/0.01163, allocations: 102.7 kB / 416.1 MB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.01174, allocations: 80.47 kB / 416.2 MB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.01216, allocations: 343.5 kB / 416.5 MB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.0122, allocations: 45.62 kB / 416.6 MB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/0.01227, allocations: 72.27 kB / 416.7 MB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008138/0.01309, allocations: 0.6153 MB / 417.3 MB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.01312, allocations: 16.06 kB / 417.3 MB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.01315, allocations: 32.12 kB / 417.3 MB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.01317, allocations: 12 kB / 417.3 MB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.01393, allocations: 0.5255 MB / 417.9 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.01603, allocations: 1.976 MB / 419.8 MB, free: 5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008905/0.01692, allocations: 0.6687 MB / 420.5 MB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.01729, allocations: 323.2 kB / 420.8 MB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.0174, allocations: 24.48 kB / 420.8 MB, free: 3.902 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.01742, allocations: 47 kB / 420.9 MB, free: 3.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.227e-06/0.01743, allocations: 4 kB / 420.9 MB, free: 3.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.005369/0.02279, allocations: 3.941 MB / 424.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.0229, allocations: 226.2 kB / 425.1 MB, free: 15.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.02323, allocations: 373.9 kB / 425.4 MB, free: 15.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.02327, allocations: 45.7 kB / 425.5 MB, free: 15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.02341, allocations: 273.5 kB / 425.7 MB, free: 14.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.02364, allocations: 420.2 kB / 426.1 MB, free: 14.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.02381, allocations: 182.9 kB / 426.3 MB, free: 14.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.02392, allocations: 382.8 kB / 426.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.02435, allocations: 314.4 kB / 427 MB, free: 13.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.02485, allocations: 0.5082 MB / 427.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009791/0.02583, allocations: 0.8706 MB / 428.4 MB, free: 11.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/0.02583, allocations: 4 kB / 428.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001458/0.02729, allocations: 1.001 MB / 429.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.02731, allocations: 8 kB / 429.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.02732, allocations: 4.094 kB / 429.4 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.02735, allocations: 23.81 kB / 429.4 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.02791, allocations: 279.6 kB / 429.7 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.02793, allocations: 16.33 kB / 429.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.02817, allocations: 55.97 kB / 429.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.02822, allocations: 36 kB / 429.8 MB, free: 10.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.000229/0.02844, allocations: 229.5 kB / 430 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.02858, allocations: 83.52 kB / 430.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.02885, allocations: 210.9 kB / 430.3 MB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.02886, allocations: 15.94 kB / 430.3 MB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.02887, allocations: 4 kB / 430.3 MB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.02888, allocations: 15.91 kB / 430.3 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.03123, allocations: 2.142 MB / 432.5 MB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.03124, allocations: 4 kB / 432.5 MB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/0.03179, allocations: 247.7 kB / 432.7 MB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.03179, allocations: 8 kB / 432.7 MB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.03183, allocations: 28.27 kB / 432.8 MB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.03184, allocations: 12 kB / 432.8 MB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.03185, allocations: 11.88 kB / 432.8 MB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.03346, allocations: 1.899 MB / 434.7 MB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.03367, allocations: 123.5 kB / 434.8 MB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.03372, allocations: 20.19 kB / 434.8 MB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.03404, allocations: 52.02 kB / 434.9 MB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.03415, allocations: 92.33 kB / 435 MB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.03419, allocations: 35.98 kB / 435 MB, free: 5.148 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.03436, allocations: 255.1 kB / 435.3 MB, free: 4.902 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03436, allocations: 4 kB / 435.3 MB, free: 4.898 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005891/0.03495, allocations: 192 kB / 435.5 MB, free: 4.711 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.002211/0.03716, allocations: 2.477 MB / 437.9 MB, free: 2.176 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.03822, allocations: 0.8085 MB / 438.7 MB, free: 1.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.03822, allocations: 0 / 438.7 MB, free: 1.363 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.03874, allocations: 480.5 kB / 439.2 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008209/0.03956, allocations: 126.6 kB / 439.3 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007232/0.0468, allocations: 6.944 MB / 446.3 MB, free: 9.523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.04707, allocations: 348.5 kB / 446.6 MB, free: 9.156 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003366/0.04741, allocations: 101.8 kB / 446.7 MB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.04769, allocations: 260.4 kB / 447 MB, free: 8.801 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/0.04769, allocations: 0 / 447 MB, free: 8.801 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.07698, allocations: 14.88 MB / 461.8 MB, free: 9.898 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/6.775, allocations: 8 kB / 461.9 MB, free: 9.891 MB / 442.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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.928125081583858]