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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009828/0.0009829, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008768/0.0008767, allocations: 95.81 kB / 261.7 MB, free: 1.609 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2341/0.2341, allocations: 43.48 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.1e-05/1.111e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1268, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5652, allocations: 94.18 MB / 0.5579 GB, free: 1.426 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.5656, allocations: 86.52 kB / 0.558 GB, free: 1.383 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2202/0.7858, allocations: 89.22 MB / 0.6451 GB, free: 300 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.7859, allocations: 4 kB / 0.6451 GB, free: 296 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002526/0.7862, allocations: 100 kB / 0.6452 GB, free: 196 kB / 442.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.06111/0.8473, allocations: 9.659 MB / 0.6547 GB, free: 6.457 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.8473, allocations: 16.03 kB / 0.6547 GB, free: 6.441 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.8576, allocations: 2.076 MB / 0.6567 GB, free: 4.355 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00901/0.8666, allocations: 3.41 MB / 0.66 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.8669, allocations: 148 kB / 0.6602 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002631/0.8695, allocations: 283.8 kB / 0.6604 GB, free: 476 kB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.018/0.8875, allocations: 9.685 MB / 0.6699 GB, free: 6.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/0.914, allocations: 13.17 MB / 0.6828 GB, free: 8.598 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001838/0.9142, allocations: 71.3 kB / 0.6828 GB, free: 8.527 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008134/0.915, allocations: 28 kB / 0.6829 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002371/0.9174, allocations: 1.117 MB / 0.6839 GB, free: 7.379 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3884/1.306, allocations: 53.47 MB / 0.7362 GB, free: 91.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/1.319, allocations: 6.561 MB / 0.7426 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004943/1.324, allocations: 2.762 MB / 0.7453 GB, free: 90.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/1.335, allocations: 6.429 MB / 0.7515 GB, free: 87.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/1.335, allocations: 56.62 kB / 0.7516 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 5.871e-06/1.335, allocations: 3.25 kB / 0.7516 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.004067/1.339, allocations: 2.595 MB / 0.7541 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/1.339, allocations: 146.6 kB / 0.7543 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00564/1.345, allocations: 3.737 MB / 0.7579 GB, free: 86.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/1.345, allocations: 29.2 kB / 0.7579 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002198/1.347, allocations: 3.637 MB / 0.7615 GB, free: 84.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006427/1.348, allocations: 0.7009 MB / 0.7622 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/1.348, allocations: 2.031 kB / 0.7622 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003668/1.348, allocations: 0.5977 MB / 0.7628 GB, free: 83.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/1.351, allocations: 2.074 MB / 0.7648 GB, free: 83.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004499/1.355, allocations: 6.438 MB / 0.7711 GB, free: 78.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004376/1.359, allocations: 3.633 MB / 0.7746 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-05/1.36, allocations: 42.28 kB / 0.7747 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01177/1.371, allocations: 7.575 MB / 0.7821 GB, free: 75.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.838e-05/1.371, allocations: 71.97 kB / 0.7821 GB, free: 75.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/1.372, allocations: 159.4 kB / 0.7823 GB, free: 75.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/1.372, allocations: 234.2 kB / 0.7825 GB, free: 75.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004779/1.377, allocations: 1.667 MB / 0.7841 GB, free: 75.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000178/1.377, allocations: 306.6 kB / 0.7844 GB, free: 75.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005113/1.382, allocations: 0.7713 MB / 0.7852 GB, free: 74.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006041/1.383, allocations: 454.3 kB / 0.7856 GB, free: 74.5 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.0007973/1.383, allocations: 0.4932 MB / 0.7861 GB, free: 74.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/1.384, allocations: 373.8 kB / 0.7865 GB, free: 73.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/1.388, allocations: 2.399 MB / 0.7888 GB, free: 72.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/1.388, allocations: 22 kB / 0.7888 GB, free: 72.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.388, allocations: 0 / 0.7888 GB, free: 72.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/1.388, allocations: 9.797 kB / 0.7888 GB, free: 72.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006079/1.394, allocations: 3.199 MB / 0.792 GB, free: 71.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.394, allocations: 7.312 kB / 0.792 GB, free: 71.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/1.396, allocations: 347.2 kB / 0.7923 GB, free: 71.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/1.396, allocations: 7.031 kB / 0.7923 GB, free: 71.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/1.396, allocations: 14.02 kB / 0.7923 GB, free: 71.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/1.396, allocations: 8.75 kB / 0.7923 GB, free: 71.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.396, allocations: 0 / 0.7923 GB, free: 71.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004984/1.401, allocations: 4.703 MB / 0.7969 GB, free: 69.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.402, allocations: 461 kB / 0.7974 GB, free: 69.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003815/1.402, allocations: 6.219 kB / 0.7974 GB, free: 69.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/1.403, allocations: 35.08 kB / 0.7974 GB, free: 69.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/1.404, allocations: 100.3 kB / 0.7975 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.404, allocations: 46.64 kB / 0.7975 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004033/1.408, allocations: 2.507 MB / 0.8 GB, free: 68.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.71e-07/1.408, allocations: 0 / 0.8 GB, free: 68.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007335/1.415, allocations: 1.226 MB / 0.8012 GB, free: 68.08 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.0005341/1.416, allocations: 151.5 kB / 0.8013 GB, free: 67.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007514/1.423, allocations: 4.672 MB / 0.8059 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.423, allocations: 0 / 0.8059 GB, free: 66.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/1.425, allocations: 1.215 MB / 0.8071 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/1.428, allocations: 391.4 kB / 0.8074 GB, free: 65.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/1.443, allocations: 8.666 MB / 0.8159 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003177/1.447, allocations: 3.681 MB / 0.8195 GB, free: 56.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005308/1.452, allocations: 2.083 MB / 0.8215 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009803/1.453, allocations: 299 kB / 0.8218 GB, free: 55.22 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/1.453, allocations: 0 / 0.8218 GB, free: 55.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.06305/1.516, allocations: 33.97 MB / 0.855 GB, free: 29.56 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches