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.001252/0.001252, allocations: 179.1 kB / 18.09 MB, free: 3.75 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.418/1.418, allocations: 223.3 MB / 242.1 MB, free: 9.859 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.0008772/0.0008771, allocations: 101.3 kB / 293.3 MB, free: 10.52 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.3693/0.3693, allocations: 44.15 MB / 388.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3421, allocations: 61.88 MB / 0.5107 GB, free: 37.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.4592, allocations: 91.26 MB / 0.5998 GB, free: 3.781 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.4595, allocations: 71.95 kB / 0.5999 GB, free: 3.715 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03401/0.4935, allocations: 11.79 MB / 0.6114 GB, free: 7.871 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4935, allocations: 0 / 0.6114 GB, free: 7.871 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.063e-05/0.4936, allocations: 12 kB / 0.6114 GB, free: 7.859 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.001743/0.4953, allocations: 0.8965 MB / 0.6123 GB, free: 6.906 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4954, allocations: 12.03 kB / 0.6123 GB, free: 6.895 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.4956, allocations: 76.09 kB / 0.6124 GB, free: 6.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.4961, allocations: 381.8 kB / 0.6128 GB, free: 6.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.4962, allocations: 45.69 kB / 0.6128 GB, free: 6.367 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.4963, allocations: 68.27 kB / 0.6129 GB, free: 6.301 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.4976, allocations: 0.631 MB / 0.6135 GB, free: 5.645 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.403e-05/0.4976, allocations: 16.03 kB / 0.6135 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.4977, allocations: 31.94 kB / 0.6135 GB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.4977, allocations: 12 kB / 0.6135 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.4989, allocations: 0.5568 MB / 0.6141 GB, free: 5.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/0.5021, allocations: 2.214 MB / 0.6162 GB, free: 2.699 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.5033, allocations: 0.7086 MB / 0.6169 GB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006395/0.504, allocations: 368.5 kB / 0.6173 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.5041, allocations: 93.53 kB / 0.6174 GB, free: 1.438 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.5042, allocations: 50.94 kB / 0.6174 GB, free: 1.379 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 2.976e-06/0.5042, allocations: 0 / 0.6174 GB, free: 1.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.008815/0.513, allocations: 4.62 MB / 0.6219 GB, free: 12.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.5132, allocations: 226.1 kB / 0.6222 GB, free: 12.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.5136, allocations: 361.9 kB / 0.6225 GB, free: 11.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.838e-05/0.5137, allocations: 45.7 kB / 0.6225 GB, free: 11.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.5139, allocations: 268.9 kB / 0.6228 GB, free: 11.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.5142, allocations: 414 kB / 0.6232 GB, free: 11.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.5142, allocations: 20 kB / 0.6232 GB, free: 11.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5144, allocations: 378.8 kB / 0.6236 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006836/0.5151, allocations: 334.4 kB / 0.6239 GB, free: 10.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007945/0.5159, allocations: 0.5199 MB / 0.6244 GB, free: 9.742 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.5175, allocations: 0.8996 MB / 0.6253 GB, free: 8.777 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.5176, allocations: 0 / 0.6253 GB, free: 8.777 MB / 442.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002091/0.5197, allocations: 1.034 MB / 0.6263 GB, free: 7.738 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.5197, allocations: 12.09 kB / 0.6263 GB, free: 7.727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.5197, allocations: 7.938 kB / 0.6263 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.703e-05/0.5198, allocations: 12 kB / 0.6263 GB, free: 7.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.5208, allocations: 287.6 kB / 0.6266 GB, free: 7.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.493e-05/0.5208, allocations: 11.98 kB / 0.6266 GB, free: 7.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.5214, allocations: 63.97 kB / 0.6267 GB, free: 7.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.406e-05/0.5215, allocations: 40 kB / 0.6267 GB, free: 7.312 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.0003989/0.5219, allocations: 233.5 kB / 0.6269 GB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.5222, allocations: 75.14 kB / 0.627 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/0.5227, allocations: 234.7 kB / 0.6272 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.5227, allocations: 12 kB / 0.6272 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/0.5227, allocations: 4 kB / 0.6272 GB, free: 6.746 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.5227, allocations: 3.984 kB / 0.6272 GB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/0.5268, allocations: 2.386 MB / 0.6296 GB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.5268, allocations: 4 kB / 0.6296 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.5278, allocations: 255.7 kB / 0.6298 GB, free: 3.996 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.969e-05/0.5279, allocations: 11.98 kB / 0.6298 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.5279, allocations: 28 kB / 0.6299 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.318e-05/0.528, allocations: 20 kB / 0.6299 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.528, allocations: 7.984 kB / 0.6299 GB, free: 3.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.5307, allocations: 1.943 MB / 0.6318 GB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.5311, allocations: 200.2 kB / 0.632 GB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.5312, allocations: 32.28 kB / 0.632 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.5318, allocations: 59.91 kB / 0.6321 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.5319, allocations: 80.45 kB / 0.6321 GB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.532, allocations: 39.92 kB / 0.6322 GB, free: 1.516 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002661/0.5323, allocations: 251.1 kB / 0.6324 GB, free: 1.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5323, allocations: 0 / 0.6324 GB, free: 1.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008515/0.5331, allocations: 196 kB / 0.6326 GB, free: 1.078 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.0002385/0.5334, allocations: 148.8 kB / 0.6327 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.535, allocations: 0.8705 MB / 0.6336 GB, free: 60 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.535, allocations: 4 kB / 0.6336 GB, free: 56 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008437/0.5358, allocations: 0.5032 MB / 0.6341 GB, free: 15.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.5371, allocations: 123.3 kB / 0.6342 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.5408, allocations: 2.657 MB / 0.6368 GB, free: 12.69 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/0.5414, allocations: 0.9441 MB / 0.6377 GB, free: 11.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004484/0.5419, allocations: 101.6 kB / 0.6378 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.5421, allocations: 59.42 kB / 0.6379 GB, free: 11.56 MB / 458.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5421, allocations: 0 / 0.6379 GB, free: 11.56 MB / 458.7 MB Notification: Performance of Templates: time 0.01301/0.5551, allocations: 6.41 MB / 0.6441 GB, free: 5.203 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/jenkins1/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