Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 101.9 kB / 17.08 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 195.3 kB / 18.02 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1928/0.1928, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 71.83 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09587/0.09738, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01527/0.1127, allocations: 15.95 MB / 0.5041 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008216/0.1209, allocations: 3.866 MB / 0.5079 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.1234, allocations: 83.81 kB / 0.508 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005999/0.1294, allocations: 3.091 MB / 0.511 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004642/0.1341, allocations: 1.749 MB / 0.5127 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1355, allocations: 463.2 kB / 0.5131 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005967/0.1415, allocations: 4.04 MB / 0.5171 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005413/0.1469, allocations: 3.604 MB / 0.5206 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.1498, allocations: 1.916 MB / 0.5225 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.1544, allocations: 3.003 MB / 0.5254 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001403/0.1559, allocations: 500 kB / 0.5259 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.1582, allocations: 0.9132 MB / 0.5268 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002451/0.1607, allocations: 2.26 MB / 0.529 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2107/0.3714, allocations: 2.789 MB / 0.5317 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.3816, allocations: 8.701 MB / 0.5402 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3817, allocations: 0 / 0.5402 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3817, allocations: 3.75 kB / 0.5402 GB, free: 10.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002663/0.3819, allocations: 3.25 kB / 0.5402 GB, free: 10.61 MB / 414.1 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.08106/0.463, allocations: 11.1 MB / 0.5511 GB, free: 8.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.4631, allocations: 15.41 kB / 0.5511 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007364/0.4704, allocations: 1.861 MB / 0.5529 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007805/0.4783, allocations: 3.273 MB / 0.5561 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.4786, allocations: 293.9 kB / 0.5564 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/0.4807, allocations: 413.5 kB / 0.5568 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04721/0.5279, allocations: 19.55 MB / 0.5758 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/0.5281, allocations: 48.28 kB / 0.5759 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/0.5293, allocations: 189 kB / 0.5761 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005501/0.5348, allocations: 2.343 MB / 0.5784 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05341/0.5883, allocations: 22.39 MB / 0.6002 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07845/0.6668, allocations: 52.35 MB / 0.6514 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06522/0.732, allocations: 9.168 MB / 0.6603 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00411/0.7362, allocations: 3.032 MB / 0.6633 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/0.7379, allocations: 360.2 kB / 0.6636 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.738, allocations: 52.44 kB / 0.6637 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=212): time 7.034e-06/0.738, allocations: 3.281 kB / 0.6637 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=212): time 0.1303/0.8683, allocations: 16.09 MB / 0.6794 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/0.8684, allocations: 153.8 kB / 0.6795 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009906/0.8783, allocations: 4.701 MB / 0.6841 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005877/0.879, allocations: 49.7 kB / 0.6842 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00262/0.8816, allocations: 3.491 MB / 0.6876 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001369/0.883, allocations: 0.84 MB / 0.6884 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00366/0.8866, allocations: 1.544 MB / 0.6899 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8868, allocations: 301.1 kB / 0.6902 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004764/0.8916, allocations: 3.175 MB / 0.6933 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007867/0.8994, allocations: 7.454 MB / 0.7006 GB, free: 10.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/0.9125, allocations: 11.49 MB / 0.7118 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/0.9127, allocations: 43.62 kB / 0.7118 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01896/0.9317, allocations: 10.61 MB / 0.7222 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.9319, allocations: 72 kB / 0.7223 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002462/0.9321, allocations: 156.2 kB / 0.7224 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/0.9324, allocations: 204.7 kB / 0.7226 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006579/0.939, allocations: 1.797 MB / 0.7244 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002676/0.9393, allocations: 294.9 kB / 0.7246 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00718/0.9464, allocations: 0.9309 MB / 0.7255 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001772/0.9482, allocations: 0.5114 MB / 0.726 GB, free: 15.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 852 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005853/0.9541, allocations: 2.32 MB / 0.7283 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/0.9555, allocations: 406.8 kB / 0.7287 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008028/0.9635, allocations: 4.865 MB / 0.7335 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/0.9636, allocations: 11.97 kB / 0.7335 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.9636, allocations: 3.984 kB / 0.7335 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/0.9652, allocations: 499.3 kB / 0.7339 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/0.9665, allocations: 36 kB / 0.734 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/0.9689, allocations: 80.44 kB / 0.7341 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000435/0.9694, allocations: 224.7 kB / 0.7343 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008177/0.9775, allocations: 5.397 MB / 0.7395 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01032/0.9879, allocations: 8.766 MB / 0.7481 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002462/0.9904, allocations: 2.233 MB / 0.7503 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005809/0.9962, allocations: 2.95 MB / 0.7532 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of Backend: time 7.12e-07/0.9962, allocations: 0 / 0.7532 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2617/1.258, allocations: 5.188 MB / 0.7582 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02174/1.28, allocations: 11 MB / 0.769 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1132/1.393, allocations: 66.4 MB / 0.8338 GB, free: 145.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches