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.001126/0.001126, allocations: 111.7 kB / 18.45 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.00113/0.00113, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2023/0.2023, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 75.88 kB / 482 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3061, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005471/0.3116, allocations: 4.17 MB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.3142, allocations: 1.18 MB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003833/0.3146, allocations: 14.94 kB / 0.5369 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.3149, allocations: 99.2 kB / 0.537 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005048/0.3154, allocations: 205 kB / 0.5372 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006435/0.3161, allocations: 231.7 kB / 0.5374 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008469/0.3169, allocations: 0.8032 MB / 0.5382 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.3173, allocations: 238.9 kB / 0.5384 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004245/0.3177, allocations: 319.6 kB / 0.5387 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.3182, allocations: 342.6 kB / 0.539 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.375e-05/0.3183, allocations: 58.03 kB / 0.5391 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.3185, allocations: 96.31 kB / 0.5392 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3186, allocations: 149.8 kB / 0.5393 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.3189, allocations: 356.2 kB / 0.5397 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007901/0.3197, allocations: 0.7878 MB / 0.5404 GB, free: 6.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3198, allocations: 0 / 0.5404 GB, free: 6.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3198, allocations: 0 / 0.5404 GB, free: 6.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3198, allocations: 1.312 kB / 0.5404 GB, free: 6.895 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.001661/0.3214, allocations: 1.012 MB / 0.5414 GB, free: 6.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3215, allocations: 8.812 kB / 0.5414 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006249/0.3221, allocations: 138.9 kB / 0.5416 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.3226, allocations: 438.9 kB / 0.542 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.3227, allocations: 41.78 kB / 0.542 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.552e-05/0.3228, allocations: 67.88 kB / 0.5421 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.3238, allocations: 0.6159 MB / 0.5427 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.3238, allocations: 8.438 kB / 0.5427 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.3239, allocations: 28.77 kB / 0.5427 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.3239, allocations: 15.09 kB / 0.5427 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009872/0.3249, allocations: 0.5138 MB / 0.5432 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/0.3277, allocations: 2.16 MB / 0.5454 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.3288, allocations: 0.6871 MB / 0.546 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005197/0.3293, allocations: 339.5 kB / 0.5463 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.3295, allocations: 97.47 kB / 0.5464 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.3295, allocations: 47 kB / 0.5465 GB, free: 2.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.114e-06/0.3295, allocations: 0 / 0.5465 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.00719/0.3367, allocations: 4.501 MB / 0.5509 GB, free: 13.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/0.3368, allocations: 222.2 kB / 0.5511 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.3372, allocations: 386 kB / 0.5515 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.3372, allocations: 41.7 kB / 0.5515 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.3374, allocations: 277 kB / 0.5518 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.3376, allocations: 421.9 kB / 0.5522 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.3379, allocations: 183 kB / 0.5523 GB, free: 11.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.338, allocations: 378.8 kB / 0.5527 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/0.3386, allocations: 314.4 kB / 0.553 GB, free: 11.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/0.3392, allocations: 0.4889 MB / 0.5535 GB, free: 10.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.3405, allocations: 0.8707 MB / 0.5543 GB, free: 9.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3405, allocations: 0 / 0.5543 GB, free: 9.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001487/0.342, allocations: 0.9996 MB / 0.5553 GB, free: 8.574 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.342, allocations: 10.62 kB / 0.5553 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.342, allocations: 8 kB / 0.5553 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.3421, allocations: 8 kB / 0.5553 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009496/0.343, allocations: 279.6 kB / 0.5556 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/0.3431, allocations: 15.92 kB / 0.5556 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.3434, allocations: 43.98 kB / 0.5557 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/0.3435, allocations: 43.98 kB / 0.5557 GB, free: 8.176 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.0002755/0.3438, allocations: 233.5 kB / 0.5559 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.344, allocations: 83.09 kB / 0.556 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004079/0.3444, allocations: 223 kB / 0.5562 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.3444, allocations: 7.984 kB / 0.5562 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3445, allocations: 0 / 0.5562 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.3447, allocations: 200.1 kB / 0.5564 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.684e-05/0.3448, allocations: 27.94 kB / 0.5564 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.3453, allocations: 39.98 kB / 0.5565 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.3455, allocations: 80.47 kB / 0.5566 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002225/0.3477, allocations: 1.527 MB / 0.558 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002186/0.3499, allocations: 1.926 MB / 0.5599 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000626/0.3505, allocations: 429.3 kB / 0.5603 GB, free: 3.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002508/0.3508, allocations: 263.1 kB / 0.5606 GB, free: 3.098 MB / 414.1 MB Notification: Performance of Backend: time 4.81e-07/0.3508, allocations: 0 / 0.5606 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.3525, allocations: 0.6235 MB / 0.5612 GB, free: 2.473 MB / 414.1 MB Notification: Performance of SimCode: time 0.002834/0.3554, allocations: 2.4 MB / 0.5635 GB, free: 28 kB / 414.1 MB Notification: Performance of Templates: time 0.01506/0.3704, allocations: 9.826 MB / 0.5731 GB, free: 6.266 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