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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008716/0.0008716, allocations: 192 kB / 7.806 MB, free: 2.488 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.024/1.024, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007595/0.0007594, allocations: 91.41 kB / 261.4 MB, free: 13.54 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.1541/0.1541, allocations: 43.5 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.571e-06/5.811e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2178, allocations: 58.84 MB / 476.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.3284, allocations: 94.14 MB / 0.5573 GB, free: 4.805 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.3287, allocations: 71.97 kB / 0.5574 GB, free: 4.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.3503/0.6791, allocations: 88.14 MB / 0.6435 GB, free: 98.53 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000364/0.6795, allocations: 99.41 kB / 0.6436 GB, free: 98.52 MB / 474.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.05559/0.7351, allocations: 9.137 MB / 0.6525 GB, free: 96.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.7351, allocations: 7.562 kB / 0.6525 GB, free: 96.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007531/0.7427, allocations: 1.759 MB / 0.6542 GB, free: 96.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005947/0.7486, allocations: 3.43 MB / 0.6576 GB, free: 95.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-05/0.7488, allocations: 147.9 kB / 0.6577 GB, free: 95.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009988/0.7498, allocations: 277.4 kB / 0.658 GB, free: 95.76 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01163/0.7614, allocations: 9.977 MB / 0.6677 GB, free: 95.73 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.7771, allocations: 13.47 MB / 0.6809 GB, free: 93.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.7773, allocations: 57.47 kB / 0.6809 GB, free: 93.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007279/0.778, allocations: 28.59 kB / 0.6809 GB, free: 93.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001725/0.7798, allocations: 1.154 MB / 0.6821 GB, free: 92.99 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05516/0.8349, allocations: 53.91 MB / 0.7347 GB, free: 56.19 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007951/0.8429, allocations: 6.868 MB / 0.7414 GB, free: 53.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/0.8461, allocations: 2.915 MB / 0.7443 GB, free: 51.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007184/0.8533, allocations: 6.446 MB / 0.7506 GB, free: 44.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.8533, allocations: 56.58 kB / 0.7506 GB, free: 44.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 3.867e-06/0.8533, allocations: 3.891 kB / 0.7506 GB, free: 44.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=176): time 0.003194/0.8565, allocations: 2.684 MB / 0.7532 GB, free: 42.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.8566, allocations: 150 kB / 0.7534 GB, free: 42.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004427/0.861, allocations: 3.8 MB / 0.7571 GB, free: 38.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.8611, allocations: 29.7 kB / 0.7571 GB, free: 38.92 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.8624, allocations: 3.341 MB / 0.7604 GB, free: 35.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/0.8628, allocations: 0.702 MB / 0.7611 GB, free: 35.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.863, allocations: 3.938 kB / 0.7611 GB, free: 35.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.8633, allocations: 0.5992 MB / 0.7617 GB, free: 34.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/0.8655, allocations: 2.157 MB / 0.7638 GB, free: 32.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003456/0.8689, allocations: 6.515 MB / 0.7701 GB, free: 23.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003617/0.8726, allocations: 3.75 MB / 0.7738 GB, free: 19.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.501e-05/0.8726, allocations: 48 kB / 0.7738 GB, free: 19.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.009475/0.8821, allocations: 7.685 MB / 0.7813 GB, free: 12.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.8821, allocations: 12.22 kB / 0.7814 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.111e-05/0.8822, allocations: 156 kB / 0.7815 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.8824, allocations: 232 kB / 0.7817 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004349/0.8867, allocations: 1.653 MB / 0.7833 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001175/0.8869, allocations: 306.8 kB / 0.7836 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004203/0.8911, allocations: 0.7563 MB / 0.7844 GB, free: 8.977 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004066/0.8915, allocations: 451.9 kB / 0.7848 GB, free: 8.535 MB / 474.7 MB 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.0005405/0.892, allocations: 495.1 kB / 0.7853 GB, free: 8.047 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/0.8924, allocations: 379.1 kB / 0.7856 GB, free: 7.672 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00292/0.8954, allocations: 2.473 MB / 0.7881 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-05/0.8954, allocations: 20 kB / 0.7881 GB, free: 5.168 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.8954, allocations: 0 / 0.7881 GB, free: 5.168 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.8954, allocations: 7.969 kB / 0.7881 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004016/0.8995, allocations: 3.225 MB / 0.7912 GB, free: 1.922 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.8995, allocations: 0 / 0.7912 GB, free: 1.922 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.9011, allocations: 331.6 kB / 0.7915 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.9012, allocations: 8 kB / 0.7916 GB, free: 1.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.9013, allocations: 21.98 kB / 0.7916 GB, free: 1.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.9013, allocations: 4 kB / 0.7916 GB, free: 1.566 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.9013, allocations: 4 kB / 0.7916 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00471/0.906, allocations: 4.88 MB / 0.7963 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/0.9066, allocations: 463.7 kB / 0.7968 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004575/0.9071, allocations: 3.984 kB / 0.7968 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.9083, allocations: 23.97 kB / 0.7968 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.9085, allocations: 85.19 kB / 0.7969 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.9086, allocations: 53.98 kB / 0.7969 GB, free: 11.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00309/0.9117, allocations: 2.562 MB / 0.7994 GB, free: 9.418 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004381/0.9161, allocations: 1.222 MB / 0.8006 GB, free: 8.191 MB / 490.7 MB 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.0003222/0.9164, allocations: 162.3 kB / 0.8008 GB, free: 8.023 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006232/0.9227, allocations: 4.84 MB / 0.8055 GB, free: 3.223 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.9227, allocations: 4 kB / 0.8055 GB, free: 3.219 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.9242, allocations: 1.27 MB / 0.8068 GB, free: 1.953 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.9256, allocations: 378.1 kB / 0.8071 GB, free: 1.594 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.9399, allocations: 8.708 MB / 0.8156 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004496/0.9444, allocations: 4.013 MB / 0.8196 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.9444, allocations: 0 / 0.8196 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.1875/1.132, allocations: 37.47 MB / 0.8561 GB, free: 162.5 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