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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 177.6 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000797/0.000797, allocations: 98.69 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3212/0.3212, allocations: 44.22 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004618, allocations: 12 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3343, allocations: 61.9 MB / 0.5096 GB, free: 38.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.4466, allocations: 91.25 MB / 0.5987 GB, free: 3.875 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.4469, allocations: 63.97 kB / 0.5987 GB, free: 3.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03449/0.4814, allocations: 11.78 MB / 0.6102 GB, free: 7.977 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.4815, allocations: 7.984 kB / 0.6102 GB, free: 7.969 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.098e-05/0.4815, allocations: 15.98 kB / 0.6102 GB, free: 7.953 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.001658/0.4832, allocations: 0.8964 MB / 0.6111 GB, free: 7.008 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.4833, allocations: 8.031 kB / 0.6111 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.4834, allocations: 79.11 kB / 0.6112 GB, free: 6.922 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.4839, allocations: 368.8 kB / 0.6116 GB, free: 6.523 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.4839, allocations: 45.31 kB / 0.6116 GB, free: 6.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.484, allocations: 63.91 kB / 0.6117 GB, free: 6.418 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.4851, allocations: 0.6304 MB / 0.6123 GB, free: 5.758 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.4852, allocations: 19.8 kB / 0.6123 GB, free: 5.738 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.4852, allocations: 20 kB / 0.6123 GB, free: 5.719 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.4852, allocations: 16 kB / 0.6123 GB, free: 5.703 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.4863, allocations: 0.5645 MB / 0.6129 GB, free: 5.133 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.4893, allocations: 2.207 MB / 0.615 GB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.4905, allocations: 0.7076 MB / 0.6157 GB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.4906, allocations: 97.52 kB / 0.6158 GB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.4906, allocations: 58.94 kB / 0.6159 GB, free: 1.859 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.4907, allocations: 0 / 0.6159 GB, free: 1.859 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.00749/0.4981, allocations: 4.619 MB / 0.6204 GB, free: 12.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/0.4983, allocations: 227.7 kB / 0.6206 GB, free: 12.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.4986, allocations: 309.2 kB / 0.6209 GB, free: 12.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.4986, allocations: 45.7 kB / 0.6209 GB, free: 12.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.4988, allocations: 264.9 kB / 0.6212 GB, free: 12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.4991, allocations: 414 kB / 0.6216 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.4991, allocations: 24 kB / 0.6216 GB, free: 11.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4993, allocations: 374.8 kB / 0.622 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/0.4999, allocations: 334.4 kB / 0.6223 GB, free: 10.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.5006, allocations: 0.5165 MB / 0.6228 GB, free: 10.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/0.5013, allocations: 404 kB / 0.6232 GB, free: 9.883 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5013, allocations: 4 kB / 0.6232 GB, free: 9.879 MB / 442.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001617/0.5029, allocations: 1.036 MB / 0.6242 GB, free: 8.836 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.5029, allocations: 8 kB / 0.6242 GB, free: 8.828 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.503, allocations: 4 kB / 0.6242 GB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.503, allocations: 8 kB / 0.6242 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.504, allocations: 296 kB / 0.6245 GB, free: 8.527 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.504, allocations: 15.94 kB / 0.6245 GB, free: 8.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.5045, allocations: 59.88 kB / 0.6246 GB, free: 8.453 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.5045, allocations: 40 kB / 0.6246 GB, free: 8.414 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.0002731/0.5048, allocations: 237.5 kB / 0.6248 GB, free: 8.172 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.505, allocations: 75.2 kB / 0.6249 GB, free: 8.098 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004175/0.5054, allocations: 214.8 kB / 0.6251 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5055, allocations: 16 kB / 0.6251 GB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.5055, allocations: 0 / 0.6251 GB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.5055, allocations: 7.984 kB / 0.6251 GB, free: 7.859 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.5088, allocations: 2.386 MB / 0.6275 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.5088, allocations: 4 kB / 0.6275 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.5098, allocations: 263.9 kB / 0.6277 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/0.5099, allocations: 8 kB / 0.6277 GB, free: 5.102 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-05/0.5099, allocations: 28 kB / 0.6278 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.976e-06/0.5099, allocations: 7.984 kB / 0.6278 GB, free: 5.066 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.51, allocations: 15.89 kB / 0.6278 GB, free: 5.051 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.5124, allocations: 2.125 MB / 0.6299 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.5127, allocations: 200.2 kB / 0.63 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/0.5127, allocations: 20 kB / 0.6301 GB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/0.5133, allocations: 59.97 kB / 0.6301 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.5135, allocations: 84.34 kB / 0.6302 GB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.5136, allocations: 40.05 kB / 0.6302 GB, free: 2.375 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002347/0.5138, allocations: 247.1 kB / 0.6305 GB, free: 2.133 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5138, allocations: 0 / 0.6305 GB, free: 2.133 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007653/0.5146, allocations: 200 kB / 0.6307 GB, free: 1.938 MB / 442.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.0002036/0.5148, allocations: 148.8 kB / 0.6308 GB, free: 1.785 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.5163, allocations: 0.8807 MB / 0.6317 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5163, allocations: 0 / 0.6317 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007846/0.5171, allocations: 0.4992 MB / 0.6322 GB, free: 416 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00076/0.5179, allocations: 108.3 kB / 0.6323 GB, free: 308 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.5213, allocations: 2.654 MB / 0.6348 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.5218, allocations: 0.9568 MB / 0.6358 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004216/0.5222, allocations: 97.62 kB / 0.6359 GB, free: 12.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.5224, allocations: 63.42 kB / 0.6359 GB, free: 12.43 MB / 458.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5224, allocations: 0 / 0.6359 GB, free: 12.43 MB / 458.7 MB Notification: Performance of Templates: time 0.01149/0.5339, allocations: 6.339 MB / 0.6421 GB, free: 6.145 MB / 458.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches