Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 105.5 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 196 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 251.6 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2651/0.2651, allocations: 44.92 MB / 351.6 MB, free: 12.24 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.88 kB / 495.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4046, allocations: 64.25 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.007197/0.4118, allocations: 4.142 MB / 0.5504 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.4149, allocations: 1.084 MB / 0.5515 GB, free: 9.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.4159, allocations: 14.69 kB / 0.5515 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.4165, allocations: 99.2 kB / 0.5516 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.4178, allocations: 203.4 kB / 0.5518 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.419, allocations: 197.6 kB / 0.552 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.4208, allocations: 0.7775 MB / 0.5527 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.4212, allocations: 166.3 kB / 0.5529 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008066/0.422, allocations: 313.9 kB / 0.5532 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008054/0.4229, allocations: 337.1 kB / 0.5535 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.4231, allocations: 58.56 kB / 0.5536 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.4235, allocations: 89.89 kB / 0.5536 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.4237, allocations: 145 kB / 0.5538 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004399/0.4242, allocations: 346.4 kB / 0.5541 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.4254, allocations: 0.7777 MB / 0.5549 GB, free: 6.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4254, allocations: 5.312 kB / 0.5549 GB, free: 6.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4254, allocations: 0 / 0.5549 GB, free: 6.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.4254, allocations: 0 / 0.5549 GB, free: 6.695 MB / 398.1 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.002333/0.4277, allocations: 1.015 MB / 0.5559 GB, free: 5.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.4278, allocations: 8.812 kB / 0.5559 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.4279, allocations: 83.52 kB / 0.556 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/0.4286, allocations: 403.8 kB / 0.5563 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.4287, allocations: 44.75 kB / 0.5564 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.4288, allocations: 64.3 kB / 0.5564 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.4301, allocations: 0.6268 MB / 0.5571 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.368e-05/0.4302, allocations: 19.88 kB / 0.5571 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.4302, allocations: 20 kB / 0.5571 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.4303, allocations: 20 kB / 0.5571 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.4315, allocations: 0.5291 MB / 0.5576 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00365/0.4351, allocations: 2.157 MB / 0.5597 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.4366, allocations: 0.6721 MB / 0.5604 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.4373, allocations: 321.2 kB / 0.5607 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.4375, allocations: 97.55 kB / 0.5608 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.4375, allocations: 42.94 kB / 0.5608 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 3.075e-06/0.4375, allocations: 4 kB / 0.5608 GB, free: 0.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.008791/0.4463, allocations: 4.547 MB / 0.5653 GB, free: 11.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.4464, allocations: 222.1 kB / 0.5655 GB, free: 11.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/0.4469, allocations: 361.9 kB / 0.5658 GB, free: 11.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.4469, allocations: 41.7 kB / 0.5659 GB, free: 11.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.4472, allocations: 273.5 kB / 0.5661 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.4475, allocations: 436.3 kB / 0.5666 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.4478, allocations: 178.9 kB / 0.5667 GB, free: 10.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.448, allocations: 378.8 kB / 0.5671 GB, free: 9.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006612/0.4487, allocations: 322.4 kB / 0.5674 GB, free: 9.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/0.4495, allocations: 0.5082 MB / 0.5679 GB, free: 8.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.451, allocations: 0.8662 MB / 0.5687 GB, free: 8.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.451, allocations: 8 kB / 0.5687 GB, free: 8.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001854/0.4529, allocations: 1.004 MB / 0.5697 GB, free: 6.996 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.4529, allocations: 11.94 kB / 0.5697 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4529, allocations: 4.281 kB / 0.5697 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.4529, allocations: 8 kB / 0.5697 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.4539, allocations: 283.6 kB / 0.57 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.454, allocations: 21.36 kB / 0.57 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.4544, allocations: 52.31 kB / 0.5701 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/0.4545, allocations: 43.98 kB / 0.5701 GB, free: 6.582 MB / 414.1 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.0003378/0.4548, allocations: 229.5 kB / 0.5703 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.4551, allocations: 79.47 kB / 0.5704 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.4555, allocations: 214.8 kB / 0.5706 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.4555, allocations: 19.98 kB / 0.5706 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.4555, allocations: 4 kB / 0.5707 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4555, allocations: 3.984 kB / 0.5707 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/0.4595, allocations: 2.332 MB / 0.5729 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4595, allocations: 4 kB / 0.5729 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.4605, allocations: 251.7 kB / 0.5732 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.4605, allocations: 8 kB / 0.5732 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.4606, allocations: 35.92 kB / 0.5732 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.877e-05/0.4606, allocations: 8.281 kB / 0.5732 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.4606, allocations: 11.94 kB / 0.5732 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/0.464, allocations: 1.902 MB / 0.5751 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000335/0.4643, allocations: 196.6 kB / 0.5753 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-05/0.4644, allocations: 31.94 kB / 0.5753 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/0.465, allocations: 51.95 kB / 0.5754 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.4652, allocations: 84.52 kB / 0.5754 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.809e-05/0.4653, allocations: 32 kB / 0.5755 GB, free: 0.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003671/0.4656, allocations: 255.1 kB / 0.5757 GB, free: 0.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4656, allocations: 4 kB / 0.5757 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001039/0.4667, allocations: 192 kB / 0.5759 GB, free: 488 kB / 414.1 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.0002418/0.4669, allocations: 139.1 kB / 0.576 GB, free: 340 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.4687, allocations: 0.8073 MB / 0.5768 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4687, allocations: 0 / 0.5768 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.4695, allocations: 475.9 kB / 0.5773 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.4707, allocations: 133.7 kB / 0.5774 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.4745, allocations: 2.225 MB / 0.5796 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.4752, allocations: 0.9477 MB / 0.5805 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003831/0.4755, allocations: 97.75 kB / 0.5806 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.4757, allocations: 63.42 kB / 0.5807 GB, free: 11.5 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4757, allocations: 4 kB / 0.5807 GB, free: 11.5 MB / 430.1 MB Notification: Performance of Templates: time 0.01595/0.4917, allocations: 7.729 MB / 0.5882 GB, free: 3.824 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.807263541035354]