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.001393/0.001393, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.00146/0.00146, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.469/1.469, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.259/0.259, allocations: 46.95 MB / 361.6 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] 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.002551/0.002551, allocations: 75.88 kB / 0.4974 GB, free: 7.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3638, allocations: 66.1 MB / 0.5619 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006004/0.3698, allocations: 3.758 MB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.3723, allocations: 1.141 MB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.3727, allocations: 19.81 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.373, allocations: 103 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.3735, allocations: 214.1 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006953/0.3742, allocations: 231.5 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.3753, allocations: 0.7978 MB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.3756, allocations: 154.8 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.3761, allocations: 326.9 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.3765, allocations: 314.3 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.56e-05/0.3766, allocations: 64 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.3768, allocations: 87.98 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.377, allocations: 155.4 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.3773, allocations: 286.6 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008963/0.3782, allocations: 0.797 MB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3782, allocations: 0 / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3782, allocations: 0 / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3782, allocations: 0 / 0.5701 GB, free: 11.57 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.002111/0.3803, allocations: 0.9565 MB / 0.571 GB, free: 10.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3804, allocations: 12.03 kB / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006997/0.3811, allocations: 140.3 kB / 0.5712 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006255/0.3817, allocations: 376.1 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.3817, allocations: 41.69 kB / 0.5716 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.3819, allocations: 64.33 kB / 0.5716 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.383, allocations: 0.6232 MB / 0.5723 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.3831, allocations: 11.95 kB / 0.5723 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.3831, allocations: 23.98 kB / 0.5723 GB, free: 9.242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.3831, allocations: 16 kB / 0.5723 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.3843, allocations: 0.4996 MB / 0.5728 GB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003357/0.3876, allocations: 1.93 MB / 0.5747 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.389, allocations: 0.6525 MB / 0.5753 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.3896, allocations: 323.1 kB / 0.5756 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.3897, allocations: 20.73 kB / 0.5756 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.3898, allocations: 46.94 kB / 0.5757 GB, free: 5.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.757e-06/0.3898, allocations: 4 kB / 0.5757 GB, free: 5.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008306/0.3981, allocations: 3.941 MB / 0.5795 GB, free: 1.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.3982, allocations: 222.3 kB / 0.5798 GB, free: 1.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.3987, allocations: 397.8 kB / 0.5801 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.467e-05/0.3988, allocations: 45.7 kB / 0.5802 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.399, allocations: 285.5 kB / 0.5805 GB, free: 436 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003589/0.3994, allocations: 432.2 kB / 0.5809 GB, free: 0 / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.3996, allocations: 183.1 kB / 0.581 GB, free: 15.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.3999, allocations: 382.8 kB / 0.5814 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/0.4005, allocations: 306.4 kB / 0.5817 GB, free: 15.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000818/0.4014, allocations: 0.4887 MB / 0.5822 GB, free: 14.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.403, allocations: 0.8619 MB / 0.583 GB, free: 13.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.403, allocations: 0 / 0.583 GB, free: 13.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001944/0.4049, allocations: 1 MB / 0.584 GB, free: 12.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4049, allocations: 7.938 kB / 0.584 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.4049, allocations: 8 kB / 0.584 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.405, allocations: 8 kB / 0.584 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.406, allocations: 284 kB / 0.5843 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.4061, allocations: 11.94 kB / 0.5843 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.4065, allocations: 47.97 kB / 0.5843 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/0.4066, allocations: 40 kB / 0.5844 GB, free: 12.24 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.0003862/0.407, allocations: 234.8 kB / 0.5846 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.4072, allocations: 87.45 kB / 0.5847 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.4078, allocations: 227.2 kB / 0.5849 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.4078, allocations: 12 kB / 0.5849 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.4078, allocations: 4 kB / 0.5849 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.4078, allocations: 7.969 kB / 0.5849 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/0.4115, allocations: 2.063 MB / 0.5869 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.4115, allocations: 4 kB / 0.5869 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.4125, allocations: 243.7 kB / 0.5872 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/0.4125, allocations: 8 kB / 0.5872 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-05/0.4126, allocations: 36.27 kB / 0.5872 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/0.4126, allocations: 16 kB / 0.5872 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.4126, allocations: 7.938 kB / 0.5872 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.4154, allocations: 1.879 MB / 0.5891 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.4158, allocations: 127.5 kB / 0.5892 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.4159, allocations: 27.98 kB / 0.5892 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.4165, allocations: 39.92 kB / 0.5893 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.4166, allocations: 88.44 kB / 0.5893 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.99e-05/0.4167, allocations: 35.98 kB / 0.5894 GB, free: 6.988 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003172/0.417, allocations: 271.1 kB / 0.5896 GB, free: 6.723 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.417, allocations: 0 / 0.5896 GB, free: 6.723 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009037/0.4179, allocations: 192 kB / 0.5898 GB, free: 6.535 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.000241/0.4182, allocations: 147.2 kB / 0.59 GB, free: 6.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.4199, allocations: 0.7986 MB / 0.5907 GB, free: 5.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.4199, allocations: 4 kB / 0.5907 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008661/0.4207, allocations: 459.2 kB / 0.5912 GB, free: 5.137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.422, allocations: 141.3 kB / 0.5913 GB, free: 5.008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/0.4258, allocations: 2.266 MB / 0.5935 GB, free: 2.652 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.4262, allocations: 357.1 kB / 0.5939 GB, free: 2.273 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.4265, allocations: 71.42 kB / 0.5939 GB, free: 2.207 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4265, allocations: 4 kB / 0.5939 GB, free: 2.203 MB / 430.1 MB Notification: Performance of Templates: time 0.01663/0.4431, allocations: 9.608 MB / 0.6033 GB, free: 8.594 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/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: 8.723961051087826]