Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001903/0.001903, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2241/0.2241, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 12 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 58.86 MB / 490.2 MB, free: 8.695 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4907/0.6398, allocations: 89.79 MB / 0.5664 GB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.6402, allocations: 65.47 kB / 0.5665 GB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03533/0.6756, allocations: 11.46 MB / 0.5777 GB, free: 428 kB / 378.7 MB Notification: Performance of FrontEnd: time 5.781e-06/0.6756, allocations: 0 / 0.5777 GB, free: 428 kB / 378.7 MB Notification: Performance of Transformations before backend: time 6.835e-05/0.6757, allocations: 19.94 kB / 0.5777 GB, free: 408 kB / 378.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.002361/0.6781, allocations: 0.8928 MB / 0.5786 GB, free: 15.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.6781, allocations: 8.031 kB / 0.5786 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000288/0.6784, allocations: 75.16 kB / 0.5786 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/0.6792, allocations: 369.2 kB / 0.579 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.6792, allocations: 45.31 kB / 0.579 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.6794, allocations: 64.91 kB / 0.5791 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.6808, allocations: 0.6339 MB / 0.5797 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.222e-05/0.6809, allocations: 15.77 kB / 0.5797 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.6809, allocations: 24.56 kB / 0.5798 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.6809, allocations: 12 kB / 0.5798 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.6823, allocations: 0.5697 MB / 0.5803 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003831/0.6861, allocations: 2.197 MB / 0.5825 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.6876, allocations: 0.7112 MB / 0.5832 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.6878, allocations: 93.53 kB / 0.5833 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.6879, allocations: 50.62 kB / 0.5833 GB, free: 11.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.426e-06/0.6879, allocations: 0 / 0.5833 GB, free: 11.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.009002/0.6969, allocations: 4.628 MB / 0.5878 GB, free: 7.082 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.6971, allocations: 226.2 kB / 0.588 GB, free: 6.812 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.6975, allocations: 316.9 kB / 0.5883 GB, free: 6.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.094e-05/0.6976, allocations: 43.83 kB / 0.5884 GB, free: 6.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.6978, allocations: 266.5 kB / 0.5886 GB, free: 6.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/0.6982, allocations: 406.7 kB / 0.589 GB, free: 5.965 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.6983, allocations: 27.25 kB / 0.5891 GB, free: 5.957 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.6985, allocations: 386 kB / 0.5894 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007233/0.6993, allocations: 329.6 kB / 0.5897 GB, free: 5.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008695/0.7002, allocations: 0.5128 MB / 0.5902 GB, free: 4.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007828/0.701, allocations: 405 kB / 0.5906 GB, free: 4.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.701, allocations: 4 kB / 0.5906 GB, free: 4.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001913/0.7029, allocations: 1.031 MB / 0.5916 GB, free: 3.855 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.7029, allocations: 8 kB / 0.5916 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.703, allocations: 4 kB / 0.5916 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/0.703, allocations: 12 kB / 0.5917 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.7041, allocations: 297.4 kB / 0.5919 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.221e-05/0.7041, allocations: 12.17 kB / 0.592 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.7047, allocations: 60.28 kB / 0.592 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.7048, allocations: 42.61 kB / 0.5921 GB, free: 3.465 MB / 394.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.0003863/0.7052, allocations: 235.7 kB / 0.5923 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.7055, allocations: 75.16 kB / 0.5923 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005441/0.7061, allocations: 222.2 kB / 0.5926 GB, free: 3.074 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.7061, allocations: 12 kB / 0.5926 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.7061, allocations: 0 / 0.5926 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.7062, allocations: 11.97 kB / 0.5926 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004164/0.7103, allocations: 2.385 MB / 0.5949 GB, free: 1.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.7104, allocations: 8.047 kB / 0.5949 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.7115, allocations: 262.2 kB / 0.5952 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.368e-05/0.7115, allocations: 12 kB / 0.5952 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.23e-05/0.7116, allocations: 26.94 kB / 0.5952 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.474e-05/0.7116, allocations: 11.98 kB / 0.5952 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.7116, allocations: 7.938 kB / 0.5952 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002942/0.7146, allocations: 2.136 MB / 0.5973 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.715, allocations: 191.1 kB / 0.5975 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.7151, allocations: 27.56 kB / 0.5975 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007013/0.7158, allocations: 49.28 kB / 0.5976 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.716, allocations: 91.95 kB / 0.5977 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.376e-05/0.7161, allocations: 33 kB / 0.5977 GB, free: 14.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003006/0.7164, allocations: 248.9 kB / 0.5979 GB, free: 14.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7164, allocations: 0 / 0.5979 GB, free: 14.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001012/0.7174, allocations: 203.5 kB / 0.5981 GB, free: 14.18 MB / 410.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.0002675/0.7177, allocations: 136.9 kB / 0.5982 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.7197, allocations: 0.8749 MB / 0.5991 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.7197, allocations: 0 / 0.5991 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009802/0.7207, allocations: 0.5049 MB / 0.5996 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.7217, allocations: 114.1 kB / 0.5997 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/0.7268, allocations: 2.653 MB / 0.6023 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009621/0.7278, allocations: 0.9607 MB / 0.6032 GB, free: 9.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000522/0.7283, allocations: 101.6 kB / 0.6033 GB, free: 9.238 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.7285, allocations: 66.05 kB / 0.6034 GB, free: 9.176 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7285, allocations: 0 / 0.6034 GB, free: 9.176 MB / 410.7 MB Notification: Performance of Templates: time 0.01485/0.7434, allocations: 6.343 MB / 0.6096 GB, free: 2.875 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches