Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009192/0.0009195, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 226.6 MB / 243.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007171/0.0007171, allocations: 98.97 kB / 295.1 MB, free: 4.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1865/0.1865, allocations: 44.83 MB / 392 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002237/0.0002237, allocations: 8 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.082/0.08223, allocations: 62.95 MB / 0.5153 GB, free: 5.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.002561/0.08483, allocations: 3.552 MB / 0.5188 GB, free: 1.539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.08603, allocations: 1.052 MB / 0.5198 GB, free: 492 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.08621, allocations: 15.94 kB / 0.5198 GB, free: 476 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.08636, allocations: 71.39 kB / 0.5199 GB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.0866, allocations: 170.5 kB / 0.5201 GB, free: 232 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.08691, allocations: 143.8 kB / 0.5202 GB, free: 88 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005831/0.0875, allocations: 0.7161 MB / 0.5209 GB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.08778, allocations: 183 kB / 0.5211 GB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.08808, allocations: 259 kB / 0.5213 GB, free: 14.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.08839, allocations: 298.7 kB / 0.5216 GB, free: 14.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.08847, allocations: 32 kB / 0.5216 GB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.08862, allocations: 55.98 kB / 0.5217 GB, free: 14.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.08871, allocations: 111.5 kB / 0.5218 GB, free: 14.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.08883, allocations: 145.4 kB / 0.5219 GB, free: 14.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.08928, allocations: 0.5455 MB / 0.5225 GB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.08929, allocations: 0 / 0.5225 GB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0893, allocations: 4 kB / 0.5225 GB, free: 13.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.08932, allocations: 0 / 0.5225 GB, free: 13.75 MB / 362.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.001552/0.09087, allocations: 0.9118 MB / 0.5234 GB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.09092, allocations: 12.03 kB / 0.5234 GB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006226/0.09155, allocations: 163 kB / 0.5235 GB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.09198, allocations: 376.8 kB / 0.5239 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.09202, allocations: 45.31 kB / 0.5239 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.885e-05/0.09212, allocations: 67.89 kB / 0.524 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.09321, allocations: 0.6382 MB / 0.5246 GB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.09325, allocations: 7.906 kB / 0.5246 GB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/0.09331, allocations: 23.94 kB / 0.5246 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.09333, allocations: 16 kB / 0.5247 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.09444, allocations: 0.5672 MB / 0.5252 GB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/0.09722, allocations: 2.184 MB / 0.5273 GB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.09839, allocations: 0.7115 MB / 0.528 GB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/0.099, allocations: 366.3 kB / 0.5284 GB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.09913, allocations: 93.48 kB / 0.5285 GB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.09918, allocations: 59.23 kB / 0.5285 GB, free: 7.188 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 2.445e-06/0.09919, allocations: 0 / 0.5285 GB, free: 7.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=115): time 0.007529/0.1067, allocations: 4.614 MB / 0.533 GB, free: 2.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/0.1068, allocations: 226.2 kB / 0.5333 GB, free: 1.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.1072, allocations: 365.8 kB / 0.5336 GB, free: 1.582 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.1073, allocations: 41.7 kB / 0.5336 GB, free: 1.535 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1074, allocations: 268.9 kB / 0.5339 GB, free: 1.266 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.1077, allocations: 406.1 kB / 0.5343 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.1077, allocations: 24 kB / 0.5343 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1079, allocations: 378.8 kB / 0.5347 GB, free: 472 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/0.1085, allocations: 334.4 kB / 0.535 GB, free: 136 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007542/0.1093, allocations: 0.5165 MB / 0.5355 GB, free: 15.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.11, allocations: 402.2 kB / 0.5359 GB, free: 15.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.11, allocations: 0 / 0.5359 GB, free: 15.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00167/0.1117, allocations: 1.035 MB / 0.5369 GB, free: 14.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1117, allocations: 8 kB / 0.5369 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1117, allocations: 4 kB / 0.5369 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.1118, allocations: 15.95 kB / 0.5369 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/0.1128, allocations: 292 kB / 0.5372 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.1128, allocations: 15.92 kB / 0.5372 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.1132, allocations: 55.98 kB / 0.5373 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.1133, allocations: 43.98 kB / 0.5373 GB, free: 13.69 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002783/0.1136, allocations: 225.6 kB / 0.5375 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.1138, allocations: 75.16 kB / 0.5376 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.1142, allocations: 222.8 kB / 0.5378 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.1142, allocations: 15.95 kB / 0.5378 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.1142, allocations: 4.188 kB / 0.5378 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.1142, allocations: 3.984 kB / 0.5378 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.1176, allocations: 2.387 MB / 0.5402 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.1176, allocations: 8.062 kB / 0.5402 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009988/0.1187, allocations: 263.9 kB / 0.5404 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.1187, allocations: 8 kB / 0.5404 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.1187, allocations: 31.98 kB / 0.5405 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.1188, allocations: 4 kB / 0.5405 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1188, allocations: 8 kB / 0.5405 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.1212, allocations: 1.947 MB / 0.5424 GB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.1214, allocations: 196.2 kB / 0.5426 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/0.1215, allocations: 27.98 kB / 0.5426 GB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/0.1221, allocations: 51.98 kB / 0.5426 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.1223, allocations: 96.31 kB / 0.5427 GB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.1223, allocations: 32 kB / 0.5428 GB, free: 7.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002288/0.1226, allocations: 251.1 kB / 0.543 GB, free: 7.684 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1226, allocations: 0 / 0.543 GB, free: 7.684 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007381/0.1233, allocations: 192 kB / 0.5432 GB, free: 7.496 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/0.1235, allocations: 139.1 kB / 0.5433 GB, free: 7.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.125, allocations: 0.8705 MB / 0.5442 GB, free: 6.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.125, allocations: 4 kB / 0.5442 GB, free: 6.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008155/0.1258, allocations: 0.4999 MB / 0.5447 GB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.1269, allocations: 117.9 kB / 0.5448 GB, free: 5.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.1303, allocations: 2.698 MB / 0.5474 GB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.1308, allocations: 0.9442 MB / 0.5483 GB, free: 2.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.131, allocations: 67.42 kB / 0.5484 GB, free: 2.035 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.131, allocations: 0 / 0.5484 GB, free: 2.035 MB / 378.7 MB Notification: Performance of Templates: time 0.1907/0.3217, allocations: 8.791 MB / 0.557 GB, free: 37.51 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches