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.001127/0.001127, allocations: 112.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001817/0.001817, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 75.88 kB / 482 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3239, allocations: 62.42 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005016/0.329, allocations: 4.179 MB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.3317, allocations: 1.179 MB / 0.5369 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.3321, allocations: 15.06 kB / 0.5369 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.3323, allocations: 100.4 kB / 0.537 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.3328, allocations: 214.2 kB / 0.5372 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005793/0.3334, allocations: 227.1 kB / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007633/0.3342, allocations: 0.8013 MB / 0.5382 GB, free: 8.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.3345, allocations: 239 kB / 0.5384 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004964/0.335, allocations: 323 kB / 0.5387 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.3355, allocations: 347 kB / 0.539 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.3356, allocations: 59.12 kB / 0.5391 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.3358, allocations: 92.17 kB / 0.5392 GB, free: 7.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.3359, allocations: 148.9 kB / 0.5393 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.3363, allocations: 361.1 kB / 0.5397 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007533/0.337, allocations: 0.7789 MB / 0.5404 GB, free: 6.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.337, allocations: 0 / 0.5404 GB, free: 6.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3371, allocations: 0 / 0.5404 GB, free: 6.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3371, allocations: 1.094 kB / 0.5404 GB, free: 6.902 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.001828/0.3389, allocations: 1.008 MB / 0.5414 GB, free: 6.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.339, allocations: 9.156 kB / 0.5414 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006766/0.3396, allocations: 151.1 kB / 0.5416 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.3402, allocations: 435.1 kB / 0.542 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.3403, allocations: 41.03 kB / 0.542 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/0.3404, allocations: 71.47 kB / 0.5421 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.3415, allocations: 0.6125 MB / 0.5427 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.3415, allocations: 11.52 kB / 0.5427 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/0.3416, allocations: 30.09 kB / 0.5427 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.3416, allocations: 18.02 kB / 0.5428 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.3427, allocations: 0.5098 MB / 0.5433 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/0.3457, allocations: 2.157 MB / 0.5454 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.3469, allocations: 0.6872 MB / 0.546 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.3475, allocations: 338.2 kB / 0.5464 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.3476, allocations: 101.7 kB / 0.5465 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3477, allocations: 50.98 kB / 0.5465 GB, free: 2.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.524e-06/0.3477, allocations: 0 / 0.5465 GB, free: 2.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.007625/0.3553, allocations: 4.497 MB / 0.5509 GB, free: 13.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.3554, allocations: 230.2 kB / 0.5511 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.3558, allocations: 382 kB / 0.5515 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.3559, allocations: 45.7 kB / 0.5515 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.3561, allocations: 288.9 kB / 0.5518 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/0.3563, allocations: 409.9 kB / 0.5522 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.3566, allocations: 175 kB / 0.5524 GB, free: 11.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3567, allocations: 382.8 kB / 0.5527 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/0.3573, allocations: 314.4 kB / 0.553 GB, free: 11.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007188/0.3581, allocations: 0.4926 MB / 0.5535 GB, free: 10.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.3594, allocations: 0.8589 MB / 0.5543 GB, free: 9.566 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3594, allocations: 4 kB / 0.5543 GB, free: 9.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001628/0.3611, allocations: 1.003 MB / 0.5553 GB, free: 8.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3611, allocations: 8 kB / 0.5553 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3611, allocations: 4 kB / 0.5553 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.3611, allocations: 12 kB / 0.5553 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.3622, allocations: 275.6 kB / 0.5556 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.3622, allocations: 12.38 kB / 0.5556 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.3626, allocations: 47.97 kB / 0.5557 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.3627, allocations: 44 kB / 0.5557 GB, free: 8.16 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.0002828/0.363, allocations: 229.5 kB / 0.5559 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.3632, allocations: 83.08 kB / 0.556 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.3636, allocations: 219.1 kB / 0.5562 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.3637, allocations: 15.97 kB / 0.5562 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3637, allocations: 0 / 0.5562 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.3639, allocations: 204 kB / 0.5564 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.944e-05/0.364, allocations: 24 kB / 0.5564 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.3646, allocations: 35.97 kB / 0.5565 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.3648, allocations: 80.48 kB / 0.5566 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002399/0.3672, allocations: 1.524 MB / 0.558 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002569/0.3698, allocations: 1.934 MB / 0.5599 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000664/0.3704, allocations: 424.9 kB / 0.5603 GB, free: 3.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002859/0.3707, allocations: 259.1 kB / 0.5606 GB, free: 3.09 MB / 414.1 MB Notification: Performance of Backend: time 5.61e-07/0.3707, allocations: 4 kB / 0.5606 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.3728, allocations: 0.6265 MB / 0.5612 GB, free: 2.457 MB / 414.1 MB Notification: Performance of SimCode: time 0.003307/0.3761, allocations: 2.402 MB / 0.5635 GB, free: 12 kB / 414.1 MB Notification: Performance of Templates: time 0.01696/0.3931, allocations: 9.586 MB / 0.5729 GB, free: 6.492 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