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/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_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/Complex trunk/package.mo): time 0.0009424/0.0009424, allocations: 194.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008471/0.0008471, allocations: 96.17 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1893/0.1893, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.409e-05/1.41e-05, allocations: 0 / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.0965, allocations: 63.25 MB / 0.5044 GB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.401/0.4976, allocations: 91.57 MB / 0.5938 GB, free: 11.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/0.4978, allocations: 60.61 kB / 0.5938 GB, free: 11.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03161/0.5294, allocations: 11.64 MB / 0.6052 GB, free: 1.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5295, allocations: 0 / 0.6052 GB, free: 1.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.72e-05/0.5295, allocations: 12 kB / 0.6052 GB, free: 1.43 MB / 394.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.001404/0.5309, allocations: 0.8504 MB / 0.606 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.531, allocations: 8.031 kB / 0.6061 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006216/0.5316, allocations: 155.1 kB / 0.6062 GB, free: 424 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.532, allocations: 358.7 kB / 0.6065 GB, free: 60 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.5321, allocations: 20 kB / 0.6066 GB, free: 40 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.5322, allocations: 47.88 kB / 0.6066 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006451/0.5329, allocations: 411.5 kB / 0.607 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007334/0.5336, allocations: 490.8 kB / 0.6075 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.5336, allocations: 11.53 kB / 0.6075 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.5337, allocations: 0 / 0.6075 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.5337, allocations: 20.22 kB / 0.6075 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/0.5365, allocations: 1.947 MB / 0.6094 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008899/0.5375, allocations: 0.5648 MB / 0.61 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.5378, allocations: 268.6 kB / 0.6102 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.538, allocations: 97.66 kB / 0.6103 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.538, allocations: 45.81 kB / 0.6103 GB, free: 12.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.134e-06/0.538, allocations: 4 kB / 0.6103 GB, free: 12.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.005001/0.543, allocations: 3.547 MB / 0.6138 GB, free: 9.363 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.169e-05/0.5432, allocations: 170.9 kB / 0.614 GB, free: 9.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.5435, allocations: 308.6 kB / 0.6143 GB, free: 8.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.5436, allocations: 25.7 kB / 0.6143 GB, free: 8.879 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.5437, allocations: 272.4 kB / 0.6146 GB, free: 8.676 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.544, allocations: 384.5 kB / 0.6149 GB, free: 8.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.5441, allocations: 4 kB / 0.6149 GB, free: 8.336 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5442, allocations: 373.6 kB / 0.6153 GB, free: 7.992 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.5446, allocations: 249.3 kB / 0.6155 GB, free: 7.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.5451, allocations: 432.9 kB / 0.6159 GB, free: 7.465 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.5456, allocations: 319 kB / 0.6162 GB, free: 7.262 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5457, allocations: 4 kB / 0.6162 GB, free: 7.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001248/0.5469, allocations: 0.8049 MB / 0.617 GB, free: 6.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5469, allocations: 4 kB / 0.617 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.547, allocations: 8 kB / 0.617 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.547, allocations: 8.438 kB / 0.617 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.548, allocations: 297.2 kB / 0.6173 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-05/0.5481, allocations: 20 kB / 0.6173 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.5485, allocations: 39.97 kB / 0.6174 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/0.5486, allocations: 41.69 kB / 0.6174 GB, free: 6.234 MB / 410.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 () * 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.0001439/0.5488, allocations: 135.7 kB / 0.6176 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.5489, allocations: 71.16 kB / 0.6176 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.5494, allocations: 220.3 kB / 0.6178 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.5494, allocations: 16 kB / 0.6178 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5494, allocations: 7.938 kB / 0.6179 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/0.5494, allocations: 7.969 kB / 0.6179 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.5524, allocations: 2.151 MB / 0.62 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5524, allocations: 0 / 0.62 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.5535, allocations: 259 kB / 0.6202 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.297e-05/0.5535, allocations: 12 kB / 0.6202 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.5536, allocations: 15.48 kB / 0.6202 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.5536, allocations: 11.95 kB / 0.6202 GB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.5536, allocations: 7.938 kB / 0.6203 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.5554, allocations: 1.689 MB / 0.6219 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.5556, allocations: 201.9 kB / 0.6221 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-05/0.5557, allocations: 4 kB / 0.6221 GB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005278/0.5562, allocations: 39.97 kB / 0.6221 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.5564, allocations: 82.58 kB / 0.6222 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.5564, allocations: 34.67 kB / 0.6223 GB, free: 1.922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.5567, allocations: 227.9 kB / 0.6225 GB, free: 1.738 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.583e-06/0.5567, allocations: 0 / 0.6225 GB, free: 1.738 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006994/0.5574, allocations: 163.9 kB / 0.6226 GB, free: 1.578 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 () * 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.0001788/0.5576, allocations: 128.8 kB / 0.6227 GB, free: 1.445 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009834/0.5586, allocations: 0.6947 MB / 0.6234 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5586, allocations: 0 / 0.6234 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.5591, allocations: 417.3 kB / 0.6238 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007385/0.5599, allocations: 87.08 kB / 0.6239 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.563, allocations: 1.915 MB / 0.6258 GB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.5636, allocations: 0.9673 MB / 0.6267 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004553/0.5641, allocations: 101.6 kB / 0.6268 GB, free: 13.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.5643, allocations: 59.42 kB / 0.6269 GB, free: 13.57 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5643, allocations: 0 / 0.6269 GB, free: 13.57 MB / 426.7 MB Notification: Performance of Templates: time 0.01182/0.5761, allocations: 6.073 MB / 0.6328 GB, free: 7.566 MB / 426.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches