Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 170.4 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.5 MB / 230.7 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008848/0.0008848, allocations: 89.86 kB / 281.6 MB, free: 5.262 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.2223/0.2223, allocations: 44.16 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.293e-05/1.28e-05, allocations: 4 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1439, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4103/0.5543, allocations: 95.62 MB / 0.588 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.5546, allocations: 79.95 kB / 0.5881 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2256/0.7802, allocations: 90.68 MB / 0.6767 GB, free: 5.453 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.7803, allocations: 4 kB / 0.6767 GB, free: 5.449 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001981/0.7805, allocations: 103.9 kB / 0.6768 GB, free: 5.348 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.06065/0.8411, allocations: 9.669 MB / 0.6862 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.8412, allocations: 15.98 kB / 0.6862 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009615/0.8508, allocations: 2.079 MB / 0.6883 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007611/0.8585, allocations: 3.406 MB / 0.6916 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.8587, allocations: 148 kB / 0.6917 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002153/0.8609, allocations: 283.8 kB / 0.692 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2835/1.144, allocations: 9.672 MB / 0.7015 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02727/1.172, allocations: 13.17 MB / 0.7143 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002566/1.172, allocations: 63.91 kB / 0.7144 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/1.173, allocations: 32.38 kB / 0.7144 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002614/1.176, allocations: 1.115 MB / 0.7155 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06629/1.242, allocations: 53.47 MB / 0.7677 GB, free: 72.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007326/1.249, allocations: 6.564 MB / 0.7741 GB, free: 69.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/1.253, allocations: 2.76 MB / 0.7768 GB, free: 68.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007656/1.26, allocations: 6.433 MB / 0.7831 GB, free: 63.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.26, allocations: 57.53 kB / 0.7832 GB, free: 63.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 5.33e-06/1.26, allocations: 0 / 0.7832 GB, free: 63.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.003362/1.264, allocations: 2.595 MB / 0.7857 GB, free: 62.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/1.264, allocations: 147.3 kB / 0.7858 GB, free: 62.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005213/1.269, allocations: 3.741 MB / 0.7895 GB, free: 61.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002845/1.269, allocations: 25.7 kB / 0.7895 GB, free: 61.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001927/1.271, allocations: 3.639 MB / 0.7931 GB, free: 58.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007459/1.272, allocations: 0.7061 MB / 0.7938 GB, free: 58.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/1.272, allocations: 0 / 0.7938 GB, free: 58.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003093/1.272, allocations: 0.5954 MB / 0.7943 GB, free: 57.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/1.275, allocations: 2.069 MB / 0.7964 GB, free: 56.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003913/1.279, allocations: 6.442 MB / 0.8027 GB, free: 50.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004713/1.284, allocations: 3.626 MB / 0.8062 GB, free: 48.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000129/1.284, allocations: 45.72 kB / 0.8062 GB, free: 48.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.0128/1.297, allocations: 7.574 MB / 0.8136 GB, free: 46.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-05/1.297, allocations: 73.41 kB / 0.8137 GB, free: 46.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002019/1.297, allocations: 160.8 kB / 0.8139 GB, free: 46.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/1.297, allocations: 231.9 kB / 0.8141 GB, free: 46.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005248/1.302, allocations: 1.66 MB / 0.8157 GB, free: 46.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002107/1.303, allocations: 307.9 kB / 0.816 GB, free: 45.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005615/1.308, allocations: 0.7759 MB / 0.8168 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009321/1.309, allocations: 451.7 kB / 0.8172 GB, free: 44.76 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (873): * Single equations (assignments): 870 * Array equations: 3 * 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.0007725/1.31, allocations: 0.4917 MB / 0.8177 GB, free: 44.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006237/1.311, allocations: 375.1 kB / 0.818 GB, free: 43.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/1.314, allocations: 2.385 MB / 0.8204 GB, free: 41.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/1.314, allocations: 21.72 kB / 0.8204 GB, free: 41.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.314, allocations: 0 / 0.8204 GB, free: 41.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/1.314, allocations: 14.55 kB / 0.8204 GB, free: 41.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005169/1.319, allocations: 3.2 MB / 0.8235 GB, free: 39.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.319, allocations: 3.938 kB / 0.8235 GB, free: 39.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/1.321, allocations: 345.9 kB / 0.8238 GB, free: 39.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/1.321, allocations: 8 kB / 0.8239 GB, free: 39.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/1.321, allocations: 15.94 kB / 0.8239 GB, free: 39.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-06/1.321, allocations: 4 kB / 0.8239 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.321, allocations: 4 kB / 0.8239 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/1.326, allocations: 4.695 MB / 0.8285 GB, free: 34.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000969/1.327, allocations: 470.1 kB / 0.8289 GB, free: 34.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000396/1.327, allocations: 11.75 kB / 0.8289 GB, free: 34.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.328, allocations: 37.86 kB / 0.829 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/1.329, allocations: 93.84 kB / 0.829 GB, free: 34.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.329, allocations: 54.19 kB / 0.8291 GB, free: 34.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003646/1.332, allocations: 2.502 MB / 0.8315 GB, free: 32.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.21e-07/1.332, allocations: 0 / 0.8315 GB, free: 32.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00553/1.338, allocations: 1.227 MB / 0.8327 GB, free: 30.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * Array equations: 3 * 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.0004518/1.338, allocations: 156.3 kB / 0.8329 GB, free: 30.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006544/1.345, allocations: 4.675 MB / 0.8375 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.345, allocations: 0 / 0.8375 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/1.346, allocations: 1.219 MB / 0.8386 GB, free: 25.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/1.348, allocations: 388.1 kB / 0.839 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.361, allocations: 8.678 MB / 0.8475 GB, free: 17.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003518/1.365, allocations: 3.67 MB / 0.8511 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00493/1.37, allocations: 2.087 MB / 0.8531 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000859/1.371, allocations: 299.3 kB / 0.8534 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/1.371, allocations: 0 / 0.8534 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.06251/1.433, allocations: 34.02 MB / 0.8866 GB, free: 10.86 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches