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.001347/0.001347, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001569/0.001569, allocations: 165.3 kB / 24.5 MB, free: 3.453 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.476/1.476, allocations: 177.1 MB / 204.7 MB, free: 8.891 MB / 190.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.2289/0.2289, allocations: 34.25 MB / 295.4 MB, free: 14.5 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.002363/0.002363, allocations: 79.81 kB / 443.1 MB, free: 6.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3432, allocations: 66.05 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003929/0.3472, allocations: 3.785 MB / 0.5009 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3491, allocations: 1.138 MB / 0.5021 GB, free: 26.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.3493, allocations: 21.31 kB / 0.5021 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.3496, allocations: 100 kB / 0.5022 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.35, allocations: 217.4 kB / 0.5024 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.3505, allocations: 221.8 kB / 0.5026 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000624/0.3511, allocations: 0.7993 MB / 0.5034 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.3514, allocations: 155.7 kB / 0.5035 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.3517, allocations: 330.7 kB / 0.5038 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.3521, allocations: 313.3 kB / 0.5041 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.48e-05/0.3522, allocations: 59.22 kB / 0.5042 GB, free: 25.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.3523, allocations: 91.12 kB / 0.5043 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.815e-05/0.3524, allocations: 149.4 kB / 0.5044 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.3526, allocations: 298.2 kB / 0.5047 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.3532, allocations: 0.792 MB / 0.5055 GB, free: 24.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3532, allocations: 0 / 0.5055 GB, free: 24.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3532, allocations: 2.844 kB / 0.5055 GB, free: 24.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.3532, allocations: 0 / 0.5055 GB, free: 24.83 MB / 446.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.001566/0.3548, allocations: 0.9562 MB / 0.5064 GB, free: 24.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3548, allocations: 8.938 kB / 0.5064 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006543/0.3555, allocations: 147.4 kB / 0.5066 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.356, allocations: 368.5 kB / 0.5069 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.356, allocations: 46.09 kB / 0.507 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.515e-05/0.3561, allocations: 63.98 kB / 0.507 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008961/0.357, allocations: 0.6214 MB / 0.5076 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.3571, allocations: 17.08 kB / 0.5076 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.3571, allocations: 26.02 kB / 0.5077 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.3571, allocations: 16.25 kB / 0.5077 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008878/0.358, allocations: 0.5123 MB / 0.5082 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.3603, allocations: 1.918 MB / 0.5101 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009965/0.3613, allocations: 0.6506 MB / 0.5107 GB, free: 21.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.3618, allocations: 312.9 kB / 0.511 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.3619, allocations: 23.66 kB / 0.511 GB, free: 21.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3619, allocations: 52.66 kB / 0.5111 GB, free: 21.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 2.976e-06/0.3619, allocations: 3.984 kB / 0.5111 GB, free: 21.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.00748/0.3694, allocations: 3.949 MB / 0.5149 GB, free: 19.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.3695, allocations: 224.1 kB / 0.5151 GB, free: 18.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.3699, allocations: 399.4 kB / 0.5155 GB, free: 18.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.3699, allocations: 42.36 kB / 0.5156 GB, free: 18.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.3701, allocations: 288 kB / 0.5158 GB, free: 18.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.3703, allocations: 432.2 kB / 0.5162 GB, free: 18.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.3705, allocations: 179.3 kB / 0.5164 GB, free: 18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3706, allocations: 379.2 kB / 0.5168 GB, free: 17.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006218/0.3713, allocations: 311.9 kB / 0.5171 GB, free: 17.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007626/0.372, allocations: 0.4948 MB / 0.5176 GB, free: 17.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.3735, allocations: 0.8466 MB / 0.5184 GB, free: 16.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.3735, allocations: 6.188 kB / 0.5184 GB, free: 16.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001699/0.3752, allocations: 0.9998 MB / 0.5194 GB, free: 16.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3752, allocations: 10.81 kB / 0.5194 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3752, allocations: 6.547 kB / 0.5194 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.3752, allocations: 13.62 kB / 0.5194 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.3762, allocations: 277.4 kB / 0.5197 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.3763, allocations: 15.19 kB / 0.5197 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.3767, allocations: 45.34 kB / 0.5197 GB, free: 16.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.15e-05/0.3768, allocations: 45.42 kB / 0.5198 GB, free: 16.34 MB / 446.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.0002823/0.3771, allocations: 230.9 kB / 0.52 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.3773, allocations: 87.12 kB / 0.5201 GB, free: 16.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.3777, allocations: 223.7 kB / 0.5203 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.3777, allocations: 13.66 kB / 0.5203 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/0.3777, allocations: 6.125 kB / 0.5203 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.3777, allocations: 6.781 kB / 0.5203 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.381, allocations: 2.053 MB / 0.5223 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.381, allocations: 5.156 kB / 0.5223 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.382, allocations: 248.3 kB / 0.5225 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.382, allocations: 8.375 kB / 0.5226 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/0.3821, allocations: 29.34 kB / 0.5226 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/0.3821, allocations: 12.56 kB / 0.5226 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3821, allocations: 7.75 kB / 0.5226 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.3843, allocations: 1.888 MB / 0.5244 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.3846, allocations: 125 kB / 0.5246 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.449e-05/0.3847, allocations: 27.44 kB / 0.5246 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006018/0.3853, allocations: 43.33 kB / 0.5246 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.3855, allocations: 91.56 kB / 0.5247 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/0.3855, allocations: 35.41 kB / 0.5248 GB, free: 13.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000283/0.3858, allocations: 275.2 kB / 0.525 GB, free: 13.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3858, allocations: 0 / 0.525 GB, free: 13.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009011/0.3867, allocations: 198.1 kB / 0.5252 GB, free: 13.3 MB / 446.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.0001543/0.3869, allocations: 133.5 kB / 0.5253 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.3883, allocations: 0.7942 MB / 0.5261 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3883, allocations: 0 / 0.5261 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000797/0.3891, allocations: 468.3 kB / 0.5266 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.3905, allocations: 143.9 kB / 0.5267 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.3935, allocations: 2.214 MB / 0.5289 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.3939, allocations: 357.7 kB / 0.5292 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004195/0.3943, allocations: 103 kB / 0.5293 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.3945, allocations: 73.3 kB / 0.5294 GB, free: 11.1 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3945, allocations: 0 / 0.5294 GB, free: 11.1 MB / 446.1 MB Notification: Performance of Templates: time 0.01587/0.4104, allocations: 7.346 MB / 0.5365 GB, free: 9.898 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 -s ida -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: 5.358647517976351]