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.001527/0.001527, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2129/0.2129, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 75.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3604, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005186/0.3656, allocations: 4.165 MB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.3682, allocations: 1.183 MB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006939/0.3689, allocations: 14.97 kB / 0.5369 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.3694, allocations: 103.6 kB / 0.537 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000809/0.3702, allocations: 206.3 kB / 0.5372 GB, free: 9.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007982/0.371, allocations: 230.1 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.3723, allocations: 0.7958 MB / 0.5382 GB, free: 8.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004955/0.3728, allocations: 240 kB / 0.5384 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000665/0.3735, allocations: 317.8 kB / 0.5387 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006695/0.3741, allocations: 343.8 kB / 0.539 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.3743, allocations: 58.62 kB / 0.5391 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.3747, allocations: 96.08 kB / 0.5392 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.3748, allocations: 148.4 kB / 0.5393 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004717/0.3753, allocations: 361.1 kB / 0.5397 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009077/0.3762, allocations: 0.783 MB / 0.5404 GB, free: 6.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3763, allocations: 1.312 kB / 0.5404 GB, free: 6.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3763, allocations: 0 / 0.5404 GB, free: 6.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3763, allocations: 0 / 0.5404 GB, free: 6.887 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.001884/0.3782, allocations: 1.013 MB / 0.5414 GB, free: 6.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3782, allocations: 8.5 kB / 0.5414 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006655/0.3789, allocations: 139.5 kB / 0.5416 GB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.3795, allocations: 442.9 kB / 0.542 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.3795, allocations: 44.59 kB / 0.542 GB, free: 5.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3796, allocations: 64.12 kB / 0.5421 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.3807, allocations: 0.6133 MB / 0.5427 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.3808, allocations: 19.02 kB / 0.5427 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.3809, allocations: 21.34 kB / 0.5427 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.3809, allocations: 15.25 kB / 0.5427 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3819, allocations: 0.5094 MB / 0.5432 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.385, allocations: 2.173 MB / 0.5453 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.3862, allocations: 0.6731 MB / 0.546 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.3867, allocations: 343.1 kB / 0.5463 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.3869, allocations: 93.84 kB / 0.5464 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3869, allocations: 50.92 kB / 0.5465 GB, free: 2.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.956e-06/0.3869, allocations: 4 kB / 0.5465 GB, free: 2.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.007709/0.3947, allocations: 4.497 MB / 0.5509 GB, free: 13.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.3948, allocations: 222.3 kB / 0.5511 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.3952, allocations: 386 kB / 0.5514 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.3953, allocations: 45.8 kB / 0.5515 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.3955, allocations: 280.9 kB / 0.5518 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.3957, allocations: 418 kB / 0.5522 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.396, allocations: 175 kB / 0.5523 GB, free: 11.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3961, allocations: 382.8 kB / 0.5527 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/0.3967, allocations: 310.4 kB / 0.553 GB, free: 11.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.3974, allocations: 0.5033 MB / 0.5535 GB, free: 10.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.3988, allocations: 0.8667 MB / 0.5543 GB, free: 9.547 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3989, allocations: 0 / 0.5543 GB, free: 9.547 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001667/0.4005, allocations: 0.9957 MB / 0.5553 GB, free: 8.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4006, allocations: 8.438 kB / 0.5553 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4006, allocations: 8 kB / 0.5553 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.4006, allocations: 12 kB / 0.5553 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009697/0.4016, allocations: 279.6 kB / 0.5556 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.567e-05/0.4016, allocations: 15.94 kB / 0.5556 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.4021, allocations: 43.97 kB / 0.5556 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.4022, allocations: 36 kB / 0.5557 GB, free: 8.148 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.0003269/0.4025, allocations: 237.5 kB / 0.5559 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.4027, allocations: 83.08 kB / 0.556 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004496/0.4032, allocations: 223.2 kB / 0.5562 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.4032, allocations: 12 kB / 0.5562 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.4032, allocations: 96 / 0.5562 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.4032, allocations: 15.91 kB / 0.5562 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/0.4067, allocations: 2.324 MB / 0.5585 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.4068, allocations: 4 kB / 0.5585 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.4078, allocations: 251.9 kB / 0.5587 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/0.4078, allocations: 11.94 kB / 0.5588 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.748e-05/0.4079, allocations: 31.98 kB / 0.5588 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/0.4079, allocations: 8 kB / 0.5588 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.4079, allocations: 4 kB / 0.5588 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.4103, allocations: 1.878 MB / 0.5606 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.4106, allocations: 212 kB / 0.5608 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/0.4107, allocations: 24.14 kB / 0.5609 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.4113, allocations: 43.97 kB / 0.5609 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.4115, allocations: 84.38 kB / 0.561 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.4116, allocations: 32 kB / 0.561 GB, free: 2.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002653/0.4118, allocations: 275.1 kB / 0.5613 GB, free: 2.254 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4119, allocations: 0 / 0.5613 GB, free: 2.254 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008683/0.4127, allocations: 200 kB / 0.5615 GB, free: 2.059 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.0001963/0.4129, allocations: 131.1 kB / 0.5616 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001475/0.4144, allocations: 0.8306 MB / 0.5624 GB, free: 1.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4144, allocations: 0 / 0.5624 GB, free: 1.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007686/0.4152, allocations: 0.4888 MB / 0.5629 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.4165, allocations: 129.9 kB / 0.563 GB, free: 492 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.4197, allocations: 2.229 MB / 0.5652 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/0.4203, allocations: 0.9518 MB / 0.5661 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.4205, allocations: 75.42 kB / 0.5662 GB, free: 13.11 MB / 430.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4205, allocations: 0 / 0.5662 GB, free: 13.11 MB / 430.1 MB Notification: Performance of Templates: time 0.01356/0.4341, allocations: 9.244 MB / 0.5752 GB, free: 3.875 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches