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) 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/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 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=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_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_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.00112, allocations: 118.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.11 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4123, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00538/0.4177, allocations: 4.167 MB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.4206, allocations: 1.179 MB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004871/0.4211, allocations: 14.78 kB / 0.5362 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.4214, allocations: 99.95 kB / 0.5363 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005138/0.422, allocations: 205.9 kB / 0.5365 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.4227, allocations: 231.1 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009126/0.4237, allocations: 0.7999 MB / 0.5375 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004095/0.4241, allocations: 238.9 kB / 0.5377 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.4246, allocations: 318.5 kB / 0.538 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.425, allocations: 347 kB / 0.5384 GB, free: 7.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.4251, allocations: 58.72 kB / 0.5384 GB, free: 7.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.4254, allocations: 91.92 kB / 0.5385 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.4255, allocations: 153.4 kB / 0.5386 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.4259, allocations: 352.6 kB / 0.539 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008611/0.4268, allocations: 0.7868 MB / 0.5398 GB, free: 6.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4268, allocations: 5.094 kB / 0.5398 GB, free: 6.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.4268, allocations: 0 / 0.5398 GB, free: 6.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.4268, allocations: 0 / 0.5398 GB, free: 6.871 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002279/0.4291, allocations: 1.012 MB / 0.5407 GB, free: 6.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.4292, allocations: 10.59 kB / 0.5408 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008867/0.4301, allocations: 139.2 kB / 0.5409 GB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/0.4309, allocations: 434.1 kB / 0.5413 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.431, allocations: 46.12 kB / 0.5413 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.4311, allocations: 63.19 kB / 0.5414 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.4325, allocations: 0.6203 MB / 0.542 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.4325, allocations: 11.83 kB / 0.542 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/0.4326, allocations: 26.02 kB / 0.5421 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.4326, allocations: 14.53 kB / 0.5421 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.4338, allocations: 0.5151 MB / 0.5426 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003401/0.4372, allocations: 2.162 MB / 0.5447 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.4385, allocations: 0.6842 MB / 0.5453 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/0.4391, allocations: 338.5 kB / 0.5457 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.4393, allocations: 101.5 kB / 0.5458 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.4394, allocations: 54.98 kB / 0.5458 GB, free: 2.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.785e-06/0.4394, allocations: 0 / 0.5458 GB, free: 2.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.008327/0.4477, allocations: 4.504 MB / 0.5502 GB, free: 13.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.4479, allocations: 226.2 kB / 0.5504 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.4483, allocations: 382 kB / 0.5508 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.4483, allocations: 45.7 kB / 0.5508 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.4485, allocations: 273 kB / 0.5511 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/0.4488, allocations: 421.9 kB / 0.5515 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.4491, allocations: 183 kB / 0.5517 GB, free: 11.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4492, allocations: 382.8 kB / 0.552 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/0.4498, allocations: 310.4 kB / 0.5523 GB, free: 11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/0.4505, allocations: 0.4965 MB / 0.5528 GB, free: 10.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.4519, allocations: 0.8613 MB / 0.5537 GB, free: 9.508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4519, allocations: 0 / 0.5537 GB, free: 9.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001657/0.4536, allocations: 0.9879 MB / 0.5546 GB, free: 8.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.4536, allocations: 12.38 kB / 0.5546 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.4537, allocations: 12.06 kB / 0.5547 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.4537, allocations: 8 kB / 0.5547 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009601/0.4546, allocations: 283.6 kB / 0.5549 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/0.4547, allocations: 11.98 kB / 0.5549 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.4551, allocations: 39.98 kB / 0.555 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.4552, allocations: 47.98 kB / 0.555 GB, free: 8.105 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 (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.0003682/0.4556, allocations: 233.5 kB / 0.5552 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.4559, allocations: 79.09 kB / 0.5553 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.4564, allocations: 227 kB / 0.5555 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.4564, allocations: 12 kB / 0.5556 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.4564, allocations: 4 kB / 0.5556 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.4564, allocations: 3.984 kB / 0.5556 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.4602, allocations: 2.328 MB / 0.5578 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.4603, allocations: 4 kB / 0.5578 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.4613, allocations: 252 kB / 0.5581 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.4613, allocations: 7.938 kB / 0.5581 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/0.4614, allocations: 31.98 kB / 0.5581 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.4614, allocations: 11.94 kB / 0.5581 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/0.4614, allocations: 4 kB / 0.5581 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.464, allocations: 1.874 MB / 0.56 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.4644, allocations: 208 kB / 0.5602 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.4645, allocations: 28 kB / 0.5602 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/0.4651, allocations: 35.98 kB / 0.5602 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.4653, allocations: 88.33 kB / 0.5603 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.071e-05/0.4654, allocations: 35.98 kB / 0.5603 GB, free: 2.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003647/0.4658, allocations: 271.1 kB / 0.5606 GB, free: 2.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4658, allocations: 0 / 0.5606 GB, free: 2.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001202/0.467, allocations: 192 kB / 0.5608 GB, free: 2.035 MB / 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 (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.0003185/0.4673, allocations: 139.1 kB / 0.5609 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.4691, allocations: 0.8323 MB / 0.5617 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.4692, allocations: 4 kB / 0.5617 GB, free: 1.055 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008442/0.47, allocations: 492.6 kB / 0.5622 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.4713, allocations: 151.2 kB / 0.5623 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.4754, allocations: 2.192 MB / 0.5645 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/0.4761, allocations: 0.9479 MB / 0.5654 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004221/0.4765, allocations: 101.9 kB / 0.5655 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.4767, allocations: 71.42 kB / 0.5656 GB, free: 13.02 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4767, allocations: 0 / 0.5656 GB, free: 13.02 MB / 430.1 MB Notification: Performance of Templates: time 0.01446/0.4912, allocations: 7.725 MB / 0.5731 GB, free: 5.352 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile (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) 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) Reference file matches