Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002494/0.002494, allocations: 177.3 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.953/2.953, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.00116/0.00116, allocations: 89.08 kB / 271.9 MB, free: 8.277 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.6958/0.6958, allocations: 43.56 MB / 363.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006696/0.0006698, allocations: 8 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2387, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7118/0.9506, allocations: 109.5 MB / 0.5868 GB, free: 8.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00048/0.9512, allocations: 83.95 kB / 0.5869 GB, free: 8.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9708/1.922, allocations: 97.29 MB / 0.6819 GB, free: 84.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.55e-06/1.922, allocations: 0 / 0.6819 GB, free: 84.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005382/1.923, allocations: 100.2 kB / 0.682 GB, free: 84.96 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.04138/1.964, allocations: 5.547 MB / 0.6874 GB, free: 82.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.864e-05/1.964, allocations: 9.656 kB / 0.6874 GB, free: 82.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02327/1.988, allocations: 2.286 MB / 0.6897 GB, free: 82.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01791/2.006, allocations: 3.94 MB / 0.6935 GB, free: 81.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000951/2.007, allocations: 396 kB / 0.6939 GB, free: 81.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005106/2.012, allocations: 0.5149 MB / 0.6944 GB, free: 81.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06159/2.073, allocations: 12.93 MB / 0.707 GB, free: 78.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009958/2.074, allocations: 64.88 kB / 0.7071 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004929/2.079, allocations: 251.7 kB / 0.7073 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004163/2.084, allocations: 1.216 MB / 0.7085 GB, free: 78.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05261/2.136, allocations: 11.18 MB / 0.7194 GB, free: 78.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1307/2.267, allocations: 55.82 MB / 0.7739 GB, free: 40.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02322/2.29, allocations: 5.265 MB / 0.7791 GB, free: 38.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007926/2.298, allocations: 3.34 MB / 0.7823 GB, free: 36.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002491/2.301, allocations: 1.008 MB / 0.7833 GB, free: 35.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/2.301, allocations: 60.56 kB / 0.7834 GB, free: 35.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=224): time 1.595e-05/2.301, allocations: 0 / 0.7834 GB, free: 35.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=255): time 0.1316/2.433, allocations: 25.67 MB / 0.8084 GB, free: 26.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/2.433, allocations: 158.5 kB / 0.8086 GB, free: 26.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0191/2.452, allocations: 4.518 MB / 0.813 GB, free: 22.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001079/2.453, allocations: 61.7 kB / 0.8131 GB, free: 22.15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005332/2.459, allocations: 3.542 MB / 0.8165 GB, free: 18.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002915/2.462, allocations: 0.961 MB / 0.8175 GB, free: 18.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/2.464, allocations: 143.7 kB / 0.8176 GB, free: 17.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001396/2.465, allocations: 0.5983 MB / 0.8182 GB, free: 17.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00986/2.475, allocations: 3.048 MB / 0.8212 GB, free: 14.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01346/2.489, allocations: 7.001 MB / 0.828 GB, free: 6.574 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02541/2.514, allocations: 10.89 MB / 0.8386 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003071/2.515, allocations: 43.94 kB / 0.8387 GB, free: 10.53 MB / 0.4949 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.04148/2.556, allocations: 10.89 MB / 0.8493 GB, free: 1.176 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003666/2.557, allocations: 64 kB / 0.8494 GB, free: 1.113 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005144/2.557, allocations: 140 kB / 0.8495 GB, free: 0.9766 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004519/2.562, allocations: 1.114 MB / 0.8506 GB, free: 168 kB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009224/2.571, allocations: 1.711 MB / 0.8523 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/2.585, allocations: 5.933 MB / 0.8581 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01223/2.598, allocations: 430.2 kB / 0.8585 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002499/2.6, allocations: 429.6 kB / 0.8589 GB, free: 8.777 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (855): * Single equations (assignments): 851 * 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.009887/2.61, allocations: 2.426 MB / 0.8613 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002175/2.612, allocations: 422.4 kB / 0.8617 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02/2.632, allocations: 5.669 MB / 0.8672 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.265e-05/2.632, allocations: 28 kB / 0.8672 GB, free: 476 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.157e-05/2.632, allocations: 4 kB / 0.8672 GB, free: 472 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.332e-05/2.633, allocations: 11.95 kB / 0.8672 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6189/3.251, allocations: 12.35 MB / 0.8793 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.046e-05/3.252, allocations: 5.969 kB / 0.8793 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006073/3.258, allocations: 0.5164 MB / 0.8798 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004851/3.263, allocations: 0.9409 MB / 0.8807 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001424/3.264, allocations: 48.67 kB / 0.8808 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/3.278, allocations: 5.652 MB / 0.8863 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.087e-05/3.278, allocations: 10.81 kB / 0.8863 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03548/3.314, allocations: 9.62 MB / 0.8957 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006759/3.321, allocations: 0.9147 MB / 0.8966 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003501/3.324, allocations: 41.95 kB / 0.8966 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005832/3.33, allocations: 198.5 kB / 0.8968 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0016/3.332, allocations: 157.5 kB / 0.897 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005332/3.333, allocations: 72.08 kB / 0.897 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0134/3.346, allocations: 2.828 MB / 0.8998 GB, free: 103 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.332e-06/3.346, allocations: 0 / 0.8998 GB, free: 103 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01496/3.361, allocations: 1.261 MB / 0.901 GB, free: 103 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.001696/3.363, allocations: 192 kB / 0.9012 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02962/3.393, allocations: 7.325 MB / 0.9084 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-05/3.393, allocations: 0 / 0.9084 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01109/3.404, allocations: 2.781 MB / 0.9111 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/3.414, allocations: 488.5 kB / 0.9115 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05527/3.469, allocations: 14.74 MB / 0.9259 GB, free: 93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01597/3.485, allocations: 3.811 MB / 0.9297 GB, free: 91.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003795/3.489, allocations: 362.8 kB / 0.93 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of SimCode: time 4.438e-06/3.489, allocations: 0 / 0.93 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of Templates: time 0.2356/3.725, allocations: 94.16 MB / 1.022 GB, free: 35.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches