Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 106.5 kB / 16.64 MB, free: 6.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.001106/0.001106, allocations: 194.5 kB / 17.56 MB, free: 5.934 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.406/1.406, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.2106/0.2106, allocations: 43.52 MB / 314.3 MB, free: 0.7148 MB / 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.001403/0.001403, allocations: 65.7 kB / 382.9 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1264, allocations: 57.8 MB / 440.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.04533/0.1718, allocations: 50.26 MB / 490.9 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02531/0.1972, allocations: 10.25 MB / 0.4894 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01226/0.2095, allocations: 211.5 kB / 0.4896 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005772/0.2153, allocations: 2.602 MB / 0.4922 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005459/0.2208, allocations: 1.752 MB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.2228, allocations: 0.6591 MB / 0.4945 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005815/0.2287, allocations: 3.793 MB / 0.4982 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004891/0.2336, allocations: 3.995 MB / 0.5021 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002906/0.2366, allocations: 1.569 MB / 0.5037 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00359/0.2402, allocations: 2.364 MB / 0.506 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000982/0.2412, allocations: 348 kB / 0.5063 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.2434, allocations: 1.088 MB / 0.5074 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001988/0.2454, allocations: 1.948 MB / 0.5093 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002589/0.248, allocations: 2.276 MB / 0.5115 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006522/0.2546, allocations: 5.722 MB / 0.5171 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2546, allocations: 4 kB / 0.5171 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2546, allocations: 0 / 0.5171 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002289/0.2549, allocations: 4 kB / 0.5171 GB, free: 14.16 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02013/0.275, allocations: 5.333 MB / 0.5223 GB, free: 8.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.2751, allocations: 11.89 kB / 0.5223 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007178/0.2823, allocations: 1.89 MB / 0.5242 GB, free: 6.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005568/0.2879, allocations: 2.357 MB / 0.5265 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.2882, allocations: 238.1 kB / 0.5267 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.2894, allocations: 327.7 kB / 0.527 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2414/0.5308, allocations: 10.73 MB / 0.5375 GB, free: 88.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/0.5309, allocations: 43.78 kB / 0.5375 GB, free: 88.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005328/0.5315, allocations: 146.9 kB / 0.5377 GB, free: 88.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003722/0.5352, allocations: 1.986 MB / 0.5396 GB, free: 88.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01919/0.5544, allocations: 9.632 MB / 0.549 GB, free: 84.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03977/0.5942, allocations: 39.26 MB / 0.5873 GB, free: 46.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.6069, allocations: 3.943 MB / 0.5912 GB, free: 42.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/0.609, allocations: 1.875 MB / 0.593 GB, free: 40.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007568/0.6098, allocations: 0.6881 MB / 0.5937 GB, free: 39.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.6098, allocations: 47.55 kB / 0.5937 GB, free: 39.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=151): time 3.988e-06/0.6098, allocations: 0 / 0.5937 GB, free: 39.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=157): time 0.03998/0.6498, allocations: 13.93 MB / 0.6073 GB, free: 25.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.6499, allocations: 145.5 kB / 0.6075 GB, free: 25.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004052/0.654, allocations: 4.081 MB / 0.6115 GB, free: 21.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000297/0.6543, allocations: 45.7 kB / 0.6115 GB, free: 21.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.6556, allocations: 3.125 MB / 0.6146 GB, free: 17.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005663/0.6562, allocations: 0.6173 MB / 0.6152 GB, free: 17.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.6573, allocations: 1.194 MB / 0.6163 GB, free: 16.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.6574, allocations: 309.1 kB / 0.6166 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.6597, allocations: 2.112 MB / 0.6187 GB, free: 13.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00368/0.6634, allocations: 5.804 MB / 0.6244 GB, free: 5.941 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007862/0.6713, allocations: 8.583 MB / 0.6327 GB, free: 11.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.312e-05/0.6714, allocations: 36 kB / 0.6328 GB, free: 11.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01545/0.6869, allocations: 8.413 MB / 0.641 GB, free: 3.051 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.687, allocations: 63.94 kB / 0.641 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/0.6872, allocations: 132 kB / 0.6412 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.6896, allocations: 0.9186 MB / 0.6421 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004337/0.694, allocations: 1.372 MB / 0.6434 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006441/0.7004, allocations: 5.194 MB / 0.6485 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004674/0.7051, allocations: 323.6 kB / 0.6488 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008051/0.7059, allocations: 379.9 kB / 0.6492 GB, free: 10.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (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 (722): * Single equations (assignments): 718 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003607/0.7096, allocations: 2.087 MB / 0.6512 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007296/0.7103, allocations: 347.4 kB / 0.6515 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005773/0.7161, allocations: 3.155 MB / 0.6546 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/0.7161, allocations: 20 kB / 0.6546 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.7161, allocations: 4 kB / 0.6546 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.7162, allocations: 11.97 kB / 0.6546 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.7297, allocations: 7.959 MB / 0.6624 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.7297, allocations: 0 / 0.6624 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/0.7312, allocations: 303.6 kB / 0.6627 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/0.7333, allocations: 0.7134 MB / 0.6634 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.7334, allocations: 39.97 kB / 0.6634 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005914/0.7393, allocations: 4.766 MB / 0.6681 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.7394, allocations: 7.969 kB / 0.6681 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008688/0.7481, allocations: 5.727 MB / 0.6737 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/0.7497, allocations: 0.6176 MB / 0.6743 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005485/0.7502, allocations: 31.98 kB / 0.6743 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.7516, allocations: 87.89 kB / 0.6744 GB, free: 384 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.7519, allocations: 108.8 kB / 0.6745 GB, free: 276 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.7521, allocations: 55.95 kB / 0.6746 GB, free: 220 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003812/0.7559, allocations: 2.554 MB / 0.6771 GB, free: 13.65 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7559, allocations: 0 / 0.6771 GB, free: 13.65 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006675/0.7626, allocations: 0.9557 MB / 0.678 GB, free: 12.7 MB / 478.1 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 (126): * Single equations (assignments): 122 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006952/0.7633, allocations: 157.7 kB / 0.6781 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009634/0.773, allocations: 5.701 MB / 0.6837 GB, free: 6.859 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.773, allocations: 8.25 kB / 0.6837 GB, free: 6.852 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0022/0.7752, allocations: 1.55 MB / 0.6852 GB, free: 5.289 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.7779, allocations: 434.9 kB / 0.6856 GB, free: 4.871 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/0.7954, allocations: 11.49 MB / 0.6969 GB, free: 9.332 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00388/0.7993, allocations: 3.237 MB / 0.7 GB, free: 6.066 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/0.8009, allocations: 315.3 kB / 0.7003 GB, free: 5.758 MB / 494.1 MB Notification: Performance of SimCode: time 2.495e-06/0.8009, allocations: 0 / 0.7003 GB, free: 5.758 MB / 494.1 MB Notification: Performance of Templates: time 0.3316/1.133, allocations: 75.47 MB / 0.774 GB, free: 132.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches