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/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_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/Complex trunk/package.mo): time 0.002259/0.002259, allocations: 201.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 226.5 MB / 245.4 MB, free: 6.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008133/0.0008134, allocations: 97.97 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3943/0.3943, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002986, allocations: 4 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3673, allocations: 62.96 MB / 0.5184 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4915, allocations: 92.18 MB / 0.6084 GB, free: 13.13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/0.492, allocations: 75.95 kB / 0.6085 GB, free: 13.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03404/0.526, allocations: 11.73 MB / 0.6199 GB, free: 1.266 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.5261, allocations: 0 / 0.6199 GB, free: 1.266 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.337e-05/0.5261, allocations: 12 kB / 0.62 GB, free: 1.254 MB / 426.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.001847/0.528, allocations: 0.8965 MB / 0.6208 GB, free: 308 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5281, allocations: 8.031 kB / 0.6208 GB, free: 300 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006829/0.5287, allocations: 156 kB / 0.621 GB, free: 144 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.5293, allocations: 393.8 kB / 0.6214 GB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.5294, allocations: 37.69 kB / 0.6214 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.5295, allocations: 72.28 kB / 0.6215 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.5307, allocations: 0.6427 MB / 0.6221 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.5307, allocations: 8.094 kB / 0.6221 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.5308, allocations: 35.86 kB / 0.6221 GB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.5308, allocations: 16 kB / 0.6222 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.5322, allocations: 0.5627 MB / 0.6227 GB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003625/0.5358, allocations: 2.212 MB / 0.6249 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.5373, allocations: 0.711 MB / 0.6256 GB, free: 11.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/0.538, allocations: 361.3 kB / 0.6259 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.5382, allocations: 101.8 kB / 0.626 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.63e-05/0.5382, allocations: 50.98 kB / 0.6261 GB, free: 10.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 3.847e-06/0.5382, allocations: 0 / 0.6261 GB, free: 10.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.008044/0.5463, allocations: 4.608 MB / 0.6306 GB, free: 5.715 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.5464, allocations: 230.1 kB / 0.6308 GB, free: 5.441 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.5468, allocations: 361.9 kB / 0.6311 GB, free: 5.078 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.5469, allocations: 45.7 kB / 0.6312 GB, free: 5.027 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.547, allocations: 268.9 kB / 0.6314 GB, free: 4.758 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.5473, allocations: 406 kB / 0.6318 GB, free: 4.355 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.5474, allocations: 24 kB / 0.6318 GB, free: 4.332 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.5476, allocations: 382.8 kB / 0.6322 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.5482, allocations: 326.4 kB / 0.6325 GB, free: 3.633 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/0.549, allocations: 0.5199 MB / 0.633 GB, free: 3.043 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.5505, allocations: 0.8971 MB / 0.6339 GB, free: 2.078 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.5505, allocations: 4 kB / 0.6339 GB, free: 2.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001831/0.5523, allocations: 1.034 MB / 0.6349 GB, free: 1.035 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.5524, allocations: 7.938 kB / 0.6349 GB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.5524, allocations: 11.94 kB / 0.6349 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.5524, allocations: 8.281 kB / 0.6349 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.5534, allocations: 296 kB / 0.6352 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.5535, allocations: 13.48 kB / 0.6352 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.554, allocations: 59.91 kB / 0.6353 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/0.5541, allocations: 43.98 kB / 0.6353 GB, free: 0.6055 MB / 442.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.0003439/0.5544, allocations: 231 kB / 0.6355 GB, free: 380 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.5546, allocations: 71.16 kB / 0.6356 GB, free: 308 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/0.5551, allocations: 227 kB / 0.6358 GB, free: 72 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.5551, allocations: 12 kB / 0.6358 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.5551, allocations: 4 kB / 0.6358 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.5551, allocations: 11.97 kB / 0.6359 GB, free: 44 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.5588, allocations: 2.39 MB / 0.6382 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.5588, allocations: 4 kB / 0.6382 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.5599, allocations: 267.9 kB / 0.6384 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.5599, allocations: 4.062 kB / 0.6384 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.91e-05/0.56, allocations: 31.98 kB / 0.6385 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.56, allocations: 15.88 kB / 0.6385 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.56, allocations: 4 kB / 0.6385 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.5626, allocations: 1.951 MB / 0.6404 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.563, allocations: 196.2 kB / 0.6406 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.684e-05/0.5631, allocations: 32 kB / 0.6406 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005762/0.5636, allocations: 51.91 kB / 0.6407 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.5639, allocations: 84.39 kB / 0.6408 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.5639, allocations: 35.98 kB / 0.6408 GB, free: 10.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002795/0.5642, allocations: 251.1 kB / 0.641 GB, free: 10.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5642, allocations: 0 / 0.641 GB, free: 10.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008562/0.5651, allocations: 208.1 kB / 0.6412 GB, free: 10.37 MB / 458.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.0002013/0.5653, allocations: 136.2 kB / 0.6414 GB, free: 10.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.5669, allocations: 0.8901 MB / 0.6422 GB, free: 9.344 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.567, allocations: 0 / 0.6422 GB, free: 9.344 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008624/0.5678, allocations: 0.5071 MB / 0.6427 GB, free: 8.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.5692, allocations: 111.3 kB / 0.6428 GB, free: 8.727 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.5729, allocations: 2.649 MB / 0.6454 GB, free: 6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/0.5735, allocations: 0.9481 MB / 0.6463 GB, free: 5.027 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004883/0.574, allocations: 98.19 kB / 0.6464 GB, free: 4.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.5741, allocations: 59.42 kB / 0.6465 GB, free: 4.871 MB / 458.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5741, allocations: 0 / 0.6465 GB, free: 4.871 MB / 458.7 MB Notification: Performance of Templates: time 0.01225/0.5864, allocations: 6.416 MB / 0.6528 GB, free: 14.51 MB / 474.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches