Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 194 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 226.5 MB / 244.1 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008087/0.0008086, allocations: 101.4 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3292/0.3292, allocations: 44.82 MB / 392.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002659, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2882, allocations: 62.94 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.3942, allocations: 92.18 MB / 0.6065 GB, free: 13.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.3944, allocations: 67.97 kB / 0.6065 GB, free: 13.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03199/0.4264, allocations: 11.74 MB / 0.618 GB, free: 1.348 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4264, allocations: 0 / 0.618 GB, free: 1.348 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.44e-05/0.4265, allocations: 12 kB / 0.618 GB, free: 1.336 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.001432/0.4279, allocations: 0.8965 MB / 0.6189 GB, free: 392 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.428, allocations: 8.031 kB / 0.6189 GB, free: 384 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005823/0.4286, allocations: 160 kB / 0.6191 GB, free: 224 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.429, allocations: 389.9 kB / 0.6194 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.4291, allocations: 41.69 kB / 0.6195 GB, free: 15.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.4292, allocations: 68.28 kB / 0.6195 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.4303, allocations: 0.6388 MB / 0.6202 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.4303, allocations: 12.08 kB / 0.6202 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/0.4304, allocations: 27.94 kB / 0.6202 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4304, allocations: 16 kB / 0.6202 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.4315, allocations: 0.5645 MB / 0.6208 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/0.4345, allocations: 2.213 MB / 0.6229 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.4357, allocations: 0.7074 MB / 0.6236 GB, free: 11.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/0.4364, allocations: 365.3 kB / 0.624 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.4365, allocations: 101.5 kB / 0.6241 GB, free: 10.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.4366, allocations: 39 kB / 0.6241 GB, free: 10.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/0.4366, allocations: 4 kB / 0.6241 GB, free: 10.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.007774/0.4444, allocations: 4.619 MB / 0.6286 GB, free: 5.801 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.4445, allocations: 230.1 kB / 0.6288 GB, free: 5.527 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.4449, allocations: 361.9 kB / 0.6292 GB, free: 5.164 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.4449, allocations: 49.7 kB / 0.6292 GB, free: 5.109 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.4451, allocations: 261.3 kB / 0.6295 GB, free: 4.848 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.4454, allocations: 414 kB / 0.6299 GB, free: 4.438 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.4454, allocations: 24 kB / 0.6299 GB, free: 4.414 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4456, allocations: 378.8 kB / 0.6302 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006712/0.4463, allocations: 338.4 kB / 0.6306 GB, free: 3.707 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000773/0.4471, allocations: 0.516 MB / 0.6311 GB, free: 3.121 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.4485, allocations: 0.8937 MB / 0.6319 GB, free: 2.156 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4485, allocations: 0 / 0.6319 GB, free: 2.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001768/0.4503, allocations: 1.034 MB / 0.633 GB, free: 1.117 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4503, allocations: 8.438 kB / 0.633 GB, free: 1.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.4504, allocations: 15.94 kB / 0.633 GB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.4504, allocations: 8 kB / 0.633 GB, free: 1.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009923/0.4514, allocations: 291.6 kB / 0.6333 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.231e-05/0.4514, allocations: 12 kB / 0.6333 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.4519, allocations: 59.97 kB / 0.6333 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-05/0.452, allocations: 40 kB / 0.6334 GB, free: 0.6914 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.0003029/0.4523, allocations: 230.1 kB / 0.6336 GB, free: 468 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.4525, allocations: 75.16 kB / 0.6337 GB, free: 392 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.4529, allocations: 230.8 kB / 0.6339 GB, free: 152 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4529, allocations: 12 kB / 0.6339 GB, free: 140 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.4529, allocations: 4.062 kB / 0.6339 GB, free: 136 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.453, allocations: 11.97 kB / 0.6339 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.4566, allocations: 2.393 MB / 0.6362 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.4566, allocations: 4.031 kB / 0.6363 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.4577, allocations: 263.7 kB / 0.6365 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.4577, allocations: 8 kB / 0.6365 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/0.4578, allocations: 24 kB / 0.6365 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.547e-05/0.4578, allocations: 19.86 kB / 0.6366 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4578, allocations: 8 kB / 0.6366 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.4604, allocations: 1.947 MB / 0.6385 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.4607, allocations: 196.2 kB / 0.6386 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/0.4608, allocations: 28 kB / 0.6387 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/0.4614, allocations: 55.91 kB / 0.6387 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.4616, allocations: 80.39 kB / 0.6388 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.4617, allocations: 35.98 kB / 0.6388 GB, free: 10.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002719/0.4619, allocations: 251.1 kB / 0.6391 GB, free: 10.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4619, allocations: 4 kB / 0.6391 GB, free: 10.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000879/0.4628, allocations: 204.1 kB / 0.6393 GB, free: 10.46 MB / 458.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.0002156/0.463, allocations: 140.2 kB / 0.6394 GB, free: 10.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.4647, allocations: 0.8783 MB / 0.6403 GB, free: 9.438 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4647, allocations: 0 / 0.6403 GB, free: 9.438 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008685/0.4656, allocations: 0.507 MB / 0.6408 GB, free: 8.934 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.4669, allocations: 125.7 kB / 0.6409 GB, free: 8.809 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.4705, allocations: 2.682 MB / 0.6435 GB, free: 6.043 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.4711, allocations: 0.9402 MB / 0.6444 GB, free: 5.078 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.4714, allocations: 71.41 kB / 0.6445 GB, free: 5.008 MB / 458.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4714, allocations: 0 / 0.6445 GB, free: 5.008 MB / 458.7 MB Notification: Performance of Templates: time 0.01319/0.4846, allocations: 8.743 MB / 0.653 GB, free: 12.28 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches