Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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.001243/0.001243, allocations: 107 kB / 19.8 MB, free: 2.5 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.001394/0.001394, allocations: 217.6 kB / 23 MB, free: 5.57 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.447/1.447, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2518/0.2518, allocations: 46.91 MB / 359.4 MB, free: 4.938 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: 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_trunk_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_trunk_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 79.86 kB / 0.4946 GB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3711, allocations: 65.99 MB / 0.5591 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005737/0.3768, allocations: 4.194 MB / 0.5632 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.3791, allocations: 1.2 MB / 0.5643 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.3794, allocations: 11.94 kB / 0.5643 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.3797, allocations: 106.9 kB / 0.5644 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004223/0.3801, allocations: 210 kB / 0.5646 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006128/0.3807, allocations: 231.6 kB / 0.5649 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009211/0.3816, allocations: 0.7978 MB / 0.5656 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.382, allocations: 167.2 kB / 0.5658 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004674/0.3824, allocations: 322.8 kB / 0.5661 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.3829, allocations: 346.4 kB / 0.5664 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.134e-05/0.383, allocations: 60 kB / 0.5665 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.3831, allocations: 91.98 kB / 0.5666 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.3833, allocations: 143.5 kB / 0.5667 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.3836, allocations: 358.2 kB / 0.5671 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000933/0.3846, allocations: 0.7883 MB / 0.5678 GB, free: 12.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3846, allocations: 4 kB / 0.5678 GB, free: 12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3846, allocations: 0 / 0.5678 GB, free: 12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.3846, allocations: 0 / 0.5678 GB, free: 12 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001958/0.3865, allocations: 1.031 MB / 0.5688 GB, free: 10.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3866, allocations: 12.03 kB / 0.5689 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006513/0.3872, allocations: 144.3 kB / 0.569 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006212/0.3879, allocations: 441.9 kB / 0.5694 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.3879, allocations: 45.69 kB / 0.5695 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.388, allocations: 68.31 kB / 0.5695 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.3892, allocations: 0.6154 MB / 0.5701 GB, free: 9.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.3892, allocations: 11.95 kB / 0.5701 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.3893, allocations: 24 kB / 0.5702 GB, free: 9.512 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.3893, allocations: 12 kB / 0.5702 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.3904, allocations: 0.519 MB / 0.5707 GB, free: 8.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/0.3937, allocations: 2.163 MB / 0.5728 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.395, allocations: 0.6566 MB / 0.5734 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.3955, allocations: 314.7 kB / 0.5737 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.3957, allocations: 101.8 kB / 0.5738 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.3958, allocations: 46.94 kB / 0.5739 GB, free: 5.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.645e-06/0.3958, allocations: 0 / 0.5739 GB, free: 5.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008221/0.404, allocations: 4.544 MB / 0.5783 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.4041, allocations: 218.3 kB / 0.5785 GB, free: 336 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.4046, allocations: 389.9 kB / 0.5789 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/0.4046, allocations: 45.7 kB / 0.5789 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.4048, allocations: 281.5 kB / 0.5792 GB, free: 15.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003586/0.4052, allocations: 428.3 kB / 0.5796 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.4055, allocations: 182.9 kB / 0.5798 GB, free: 14.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.4057, allocations: 390.7 kB / 0.5802 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006371/0.4063, allocations: 306.5 kB / 0.5805 GB, free: 14.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.4071, allocations: 0.4967 MB / 0.5809 GB, free: 13.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.4086, allocations: 0.8577 MB / 0.5818 GB, free: 12.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.4086, allocations: 4 kB / 0.5818 GB, free: 12.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001803/0.4104, allocations: 0.9922 MB / 0.5827 GB, free: 11.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4104, allocations: 8 kB / 0.5828 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.4104, allocations: 4.062 kB / 0.5828 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.4105, allocations: 16.58 kB / 0.5828 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4115, allocations: 283.6 kB / 0.583 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/0.4115, allocations: 19.92 kB / 0.5831 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.4119, allocations: 43.91 kB / 0.5831 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/0.412, allocations: 47.98 kB / 0.5832 GB, free: 11.4 MB / 430.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 (145): * Single equations (assignments): 145 * 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.0003188/0.4123, allocations: 225.6 kB / 0.5834 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.4125, allocations: 87.42 kB / 0.5835 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/0.413, allocations: 231.2 kB / 0.5837 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.413, allocations: 12 kB / 0.5837 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.413, allocations: 0 / 0.5837 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.413, allocations: 7.984 kB / 0.5837 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/0.4169, allocations: 2.334 MB / 0.586 GB, free: 8.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.4169, allocations: 4 kB / 0.586 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.418, allocations: 251.6 kB / 0.5862 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.418, allocations: 11.94 kB / 0.5862 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.4181, allocations: 28.28 kB / 0.5863 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.692e-05/0.4181, allocations: 7.984 kB / 0.5863 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4181, allocations: 8 kB / 0.5863 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.4207, allocations: 1.878 MB / 0.5881 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.4211, allocations: 204.5 kB / 0.5883 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.742e-05/0.4212, allocations: 27.98 kB / 0.5883 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005916/0.4218, allocations: 43.98 kB / 0.5884 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.4219, allocations: 84.33 kB / 0.5884 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/0.422, allocations: 35.98 kB / 0.5885 GB, free: 5.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002982/0.4223, allocations: 267.1 kB / 0.5887 GB, free: 5.512 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4223, allocations: 0 / 0.5887 GB, free: 5.512 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008707/0.4232, allocations: 200 kB / 0.5889 GB, free: 5.316 MB / 430.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 (116): * Single equations (assignments): 116 * 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.0002262/0.4234, allocations: 131.1 kB / 0.5891 GB, free: 5.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.425, allocations: 0.7999 MB / 0.5898 GB, free: 4.379 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.425, allocations: 0 / 0.5898 GB, free: 4.379 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008477/0.4259, allocations: 459.5 kB / 0.5903 GB, free: 3.926 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.4271, allocations: 151.7 kB / 0.5904 GB, free: 3.789 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.4309, allocations: 2.241 MB / 0.5926 GB, free: 1.465 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006847/0.4316, allocations: 0.9557 MB / 0.5935 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.4321, allocations: 98.02 kB / 0.5936 GB, free: 392 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.4323, allocations: 67.42 kB / 0.5937 GB, free: 328 kB / 430.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4323, allocations: 0 / 0.5937 GB, free: 328 kB / 430.1 MB Notification: Performance of Templates: time 0.01692/0.4492, allocations: 7.875 MB / 0.6014 GB, free: 8.504 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.449863695539534]