Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001031, allocations: 105.3 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 181.1 kB / 19.37 MB, free: 3.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2016/0.2016, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2879, allocations: 60.82 MB / 0.5195 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004346/0.2923, allocations: 4.108 MB / 0.5236 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.2945, allocations: 1.074 MB / 0.5246 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003778/0.2949, allocations: 13.31 kB / 0.5246 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.2951, allocations: 100.5 kB / 0.5247 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004538/0.2956, allocations: 196.4 kB / 0.5249 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.2963, allocations: 190.9 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008596/0.2971, allocations: 0.7855 MB / 0.5259 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.2975, allocations: 237.8 kB / 0.5261 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/0.2979, allocations: 311.6 kB / 0.5264 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004007/0.2983, allocations: 343.6 kB / 0.5267 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.222e-05/0.2984, allocations: 58.47 kB / 0.5268 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.2986, allocations: 88.77 kB / 0.5268 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.2987, allocations: 144.1 kB / 0.527 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.299, allocations: 346 kB / 0.5273 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007909/0.2998, allocations: 0.7747 MB / 0.5281 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2999, allocations: 1.375 kB / 0.5281 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2999, allocations: 3.938 kB / 0.5281 GB, free: 14.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.2999, allocations: 0 / 0.5281 GB, free: 14.01 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001816/0.3017, allocations: 0.9953 MB / 0.529 GB, free: 13.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.3017, allocations: 13.59 kB / 0.5291 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.3019, allocations: 75.06 kB / 0.5291 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.3024, allocations: 411.3 kB / 0.5295 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.3024, allocations: 40.97 kB / 0.5296 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.3025, allocations: 68.25 kB / 0.5296 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.3036, allocations: 0.6279 MB / 0.5302 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.613e-05/0.3037, allocations: 7.594 kB / 0.5302 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.3038, allocations: 25.31 kB / 0.5303 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.3038, allocations: 13.81 kB / 0.5303 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.305, allocations: 0.5338 MB / 0.5308 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.3081, allocations: 2.148 MB / 0.5329 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.3094, allocations: 0.6997 MB / 0.5336 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006167/0.31, allocations: 347.5 kB / 0.5339 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.3102, allocations: 97.84 kB / 0.534 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.3102, allocations: 52.38 kB / 0.5341 GB, free: 9.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.564e-06/0.3102, allocations: 0 / 0.5341 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.008031/0.3183, allocations: 4.486 MB / 0.5384 GB, free: 6.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.3184, allocations: 227 kB / 0.5387 GB, free: 5.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.3188, allocations: 370.6 kB / 0.539 GB, free: 5.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/0.3189, allocations: 42.11 kB / 0.5391 GB, free: 5.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.3191, allocations: 263.9 kB / 0.5393 GB, free: 5.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.3194, allocations: 409.2 kB / 0.5397 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.3197, allocations: 180.5 kB / 0.5399 GB, free: 4.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3198, allocations: 378.9 kB / 0.5402 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007033/0.3205, allocations: 321.6 kB / 0.5405 GB, free: 4.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007832/0.3213, allocations: 0.4963 MB / 0.541 GB, free: 4.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.3228, allocations: 0.8685 MB / 0.5419 GB, free: 3.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.3228, allocations: 1.219 kB / 0.5419 GB, free: 3.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001874/0.3247, allocations: 1.015 MB / 0.5429 GB, free: 3.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.3248, allocations: 11.03 kB / 0.5429 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.3248, allocations: 9.562 kB / 0.5429 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/0.3248, allocations: 10.28 kB / 0.5429 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.3258, allocations: 280.3 kB / 0.5432 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/0.3259, allocations: 15.92 kB / 0.5432 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.3264, allocations: 55.91 kB / 0.5432 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.879e-05/0.3265, allocations: 40 kB / 0.5433 GB, free: 2.848 MB / 398.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 (144): * Single equations (assignments): 144 * 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.0003381/0.3269, allocations: 225.6 kB / 0.5435 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.3271, allocations: 83.22 kB / 0.5436 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.3276, allocations: 214.9 kB / 0.5438 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.3276, allocations: 12.06 kB / 0.5438 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-05/0.3277, allocations: 8 kB / 0.5438 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.3277, allocations: 7.969 kB / 0.5438 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/0.3315, allocations: 2.325 MB / 0.5461 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.3315, allocations: 4.281 kB / 0.5461 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.3326, allocations: 255.7 kB / 0.5463 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-05/0.3327, allocations: 8 kB / 0.5463 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.3327, allocations: 31.92 kB / 0.5463 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/0.3328, allocations: 8.359 kB / 0.5464 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.3328, allocations: 11.92 kB / 0.5464 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.3354, allocations: 1.912 MB / 0.5482 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.3358, allocations: 196.2 kB / 0.5484 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.336, allocations: 31.94 kB / 0.5485 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/0.3367, allocations: 43.97 kB / 0.5485 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.3369, allocations: 92.27 kB / 0.5486 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.3369, allocations: 35.98 kB / 0.5486 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.3372, allocations: 247.2 kB / 0.5489 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3372, allocations: 0 / 0.5489 GB, free: 12.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001004/0.3382, allocations: 192 kB / 0.549 GB, free: 12.75 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 (115): * Single equations (assignments): 115 * 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.0001927/0.3384, allocations: 139.1 kB / 0.5492 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.3401, allocations: 0.8507 MB / 0.55 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3401, allocations: 4 kB / 0.55 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008597/0.341, allocations: 494.6 kB / 0.5505 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.3423, allocations: 131.1 kB / 0.5506 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.3459, allocations: 2.232 MB / 0.5528 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.3465, allocations: 0.9361 MB / 0.5537 GB, free: 7.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.3468, allocations: 79.41 kB / 0.5538 GB, free: 7.793 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3468, allocations: 0 / 0.5538 GB, free: 7.793 MB / 414.1 MB Notification: Performance of Templates: time 0.01509/0.3619, allocations: 8.997 MB / 0.5626 GB, free: 14.8 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches