Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 199.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 226.5 MB / 243.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008907/0.0008906, allocations: 106.4 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3129/0.3129, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003181, allocations: 12 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2994, allocations: 62.96 MB / 0.5159 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.03023/0.3297, allocations: 45.01 MB / 0.5598 GB, free: 4.859 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02071/0.3505, allocations: 9.737 MB / 0.5693 GB, free: 14.22 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009512/0.36, allocations: 212.1 kB / 0.5695 GB, free: 14.19 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008137/0.3682, allocations: 2.321 MB / 0.5718 GB, free: 13.37 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01979/0.388, allocations: 6.923 MB / 0.5786 GB, free: 9.098 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003447/0.3915, allocations: 0.5383 MB / 0.5791 GB, free: 8.559 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005783/0.3973, allocations: 4.284 MB / 0.5833 GB, free: 4.266 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006381/0.4037, allocations: 4.939 MB / 0.5881 GB, free: 15.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.4057, allocations: 1.171 MB / 0.5893 GB, free: 14.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.4078, allocations: 1.822 MB / 0.591 GB, free: 12.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004048/0.4082, allocations: 128 kB / 0.5912 GB, free: 12.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.41, allocations: 0.897 MB / 0.592 GB, free: 11.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.4113, allocations: 1.593 MB / 0.5936 GB, free: 9.613 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.4129, allocations: 1.788 MB / 0.5953 GB, free: 7.809 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004567/0.4175, allocations: 5.237 MB / 0.6004 GB, free: 2.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4175, allocations: 4 kB / 0.6004 GB, free: 2.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4175, allocations: 0 / 0.6004 GB, free: 2.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001278/0.4177, allocations: 0 / 0.6004 GB, free: 2.555 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01328/0.4309, allocations: 4.248 MB / 0.6046 GB, free: 14.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.431, allocations: 8.875 kB / 0.6046 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00636/0.4374, allocations: 1.933 MB / 0.6065 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003992/0.4414, allocations: 2.229 MB / 0.6087 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.4416, allocations: 229.8 kB / 0.6089 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006292/0.4422, allocations: 307.8 kB / 0.6092 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.4589, allocations: 10.22 MB / 0.6192 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.4591, allocations: 39.66 kB / 0.6192 GB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004212/0.4595, allocations: 143.9 kB / 0.6193 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002877/0.4624, allocations: 1.876 MB / 0.6212 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/0.4796, allocations: 9.164 MB / 0.6301 GB, free: 3.363 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04217/0.5218, allocations: 37.6 MB / 0.6668 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.5337, allocations: 3.718 MB / 0.6705 GB, free: 8.816 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.536, allocations: 1.716 MB / 0.6721 GB, free: 7.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008348/0.5368, allocations: 0.6745 MB / 0.6728 GB, free: 6.305 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.5369, allocations: 55.05 kB / 0.6729 GB, free: 6.242 MB / 490.7 MB Notification: Performance of pre-optimization done (n=130): time 3.637e-06/0.5369, allocations: 0 / 0.6729 GB, free: 6.242 MB / 490.7 MB Notification: Performance of matching and sorting (n=136): time 0.2744/0.8113, allocations: 12.92 MB / 0.6855 GB, free: 129.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.8114, allocations: 147.2 kB / 0.6856 GB, free: 128.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00496/0.8164, allocations: 3.958 MB / 0.6895 GB, free: 127.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003209/0.8167, allocations: 45.06 kB / 0.6895 GB, free: 127.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.8182, allocations: 3.007 MB / 0.6925 GB, free: 125.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005921/0.8188, allocations: 0.547 MB / 0.693 GB, free: 124.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.819, allocations: 111 kB / 0.6931 GB, free: 124.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.8193, allocations: 0.54 MB / 0.6936 GB, free: 124.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/0.8218, allocations: 1.921 MB / 0.6955 GB, free: 123.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/0.8257, allocations: 5.511 MB / 0.7009 GB, free: 118.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/0.8336, allocations: 8.071 MB / 0.7088 GB, free: 111.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001677/0.8338, allocations: 41.03 kB / 0.7088 GB, free: 111.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01656/0.8503, allocations: 7.907 MB / 0.7165 GB, free: 108.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.8505, allocations: 63.81 kB / 0.7166 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002442/0.8508, allocations: 128.2 kB / 0.7167 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002661/0.8534, allocations: 0.9064 MB / 0.7176 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004322/0.8578, allocations: 1.292 MB / 0.7189 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006343/0.8641, allocations: 4.858 MB / 0.7236 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004056/0.8682, allocations: 306.7 kB / 0.7239 GB, free: 105.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007876/0.869, allocations: 361 kB / 0.7242 GB, free: 105.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (684): * Single equations (assignments): 680 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003314/0.8724, allocations: 1.992 MB / 0.7262 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005741/0.8729, allocations: 332.1 kB / 0.7265 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004409/0.8774, allocations: 2.792 MB / 0.7292 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.474e-05/0.8774, allocations: 23.58 kB / 0.7293 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.8774, allocations: 3.844 kB / 0.7293 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.8775, allocations: 7.641 kB / 0.7293 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.8886, allocations: 7.269 MB / 0.7364 GB, free: 99.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.8887, allocations: 4 kB / 0.7364 GB, free: 99.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.8898, allocations: 258.6 kB / 0.7366 GB, free: 98.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.8916, allocations: 0.7138 MB / 0.7373 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/0.8918, allocations: 37.55 kB / 0.7373 GB, free: 98.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004626/0.8964, allocations: 4.412 MB / 0.7417 GB, free: 94.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8965, allocations: 12.03 kB / 0.7417 GB, free: 94.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006514/0.903, allocations: 5.132 MB / 0.7467 GB, free: 88.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.9041, allocations: 392.7 kB / 0.7471 GB, free: 88.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004145/0.9045, allocations: 24 kB / 0.7471 GB, free: 88.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.9057, allocations: 84.55 kB / 0.7472 GB, free: 88.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/0.9059, allocations: 88.52 kB / 0.7472 GB, free: 88.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.9061, allocations: 49.3 kB / 0.7473 GB, free: 88.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002973/0.909, allocations: 2.466 MB / 0.7497 GB, free: 85.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.909, allocations: 4 kB / 0.7497 GB, free: 85.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004525/0.9136, allocations: 0.898 MB / 0.7506 GB, free: 84.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003672/0.914, allocations: 154 kB / 0.7507 GB, free: 84.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005862/0.9198, allocations: 4.612 MB / 0.7552 GB, free: 80.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.9199, allocations: 0 / 0.7552 GB, free: 80.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.9214, allocations: 1.36 MB / 0.7566 GB, free: 78.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/0.9242, allocations: 407.6 kB / 0.7569 GB, free: 78.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.938, allocations: 10.45 MB / 0.7672 GB, free: 67.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/0.9408, allocations: 3.106 MB / 0.7702 GB, free: 64.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009185/0.9417, allocations: 291.3 kB / 0.7705 GB, free: 64.47 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.9418, allocations: 0 / 0.7705 GB, free: 64.47 MB / 490.7 MB Notification: Performance of Templates: time 0.07856/1.02, allocations: 70.54 MB / 0.8393 GB, free: 9.953 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches