Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009344/0.0009345, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.2 MB / 218.9 MB, free: 9.137 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.0007167/0.0007167, allocations: 98.52 kB / 267.1 MB, free: 9.262 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.3469/0.3469, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.272e-05, allocations: 4 kB / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 58.85 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4743, allocations: 109.2 MB / 0.5795 GB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.4745, allocations: 84.17 kB / 0.5795 GB, free: 12.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2318/0.7063, allocations: 98.42 MB / 0.6756 GB, free: 2.918 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.7064, allocations: 0 / 0.6756 GB, free: 2.918 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001901/0.7066, allocations: 107.9 kB / 0.6757 GB, free: 2.812 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.0191/0.7257, allocations: 5.515 MB / 0.6811 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.7257, allocations: 16.02 kB / 0.6811 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.7361, allocations: 2.309 MB / 0.6834 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/0.7504, allocations: 4.989 MB / 0.6883 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004391/0.7509, allocations: 394.3 kB / 0.6887 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002655/0.7536, allocations: 0.5076 MB / 0.6891 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2765/1.03, allocations: 12.87 MB / 0.7017 GB, free: 87.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002244/1.03, allocations: 61.03 kB / 0.7018 GB, free: 87.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009573/1.031, allocations: 248.2 kB / 0.702 GB, free: 87.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001644/1.033, allocations: 1.213 MB / 0.7032 GB, free: 87.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/1.053, allocations: 11.09 MB / 0.714 GB, free: 87.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05627/1.11, allocations: 55.86 MB / 0.7686 GB, free: 55.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/1.124, allocations: 5.272 MB / 0.7737 GB, free: 53.19 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004495/1.129, allocations: 3.284 MB / 0.7769 GB, free: 51.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/1.13, allocations: 1.015 MB / 0.7779 GB, free: 50.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/1.13, allocations: 63.33 kB / 0.778 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=224): time 6.282e-06/1.13, allocations: 0 / 0.778 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=255): time 0.05028/1.18, allocations: 21.96 MB / 0.7994 GB, free: 43.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/1.18, allocations: 155.9 kB / 0.7996 GB, free: 43.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004737/1.185, allocations: 3.987 MB / 0.8035 GB, free: 41.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004161/1.186, allocations: 62.7 kB / 0.8035 GB, free: 41.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001417/1.187, allocations: 3.547 MB / 0.807 GB, free: 39.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007535/1.188, allocations: 0.963 MB / 0.8079 GB, free: 38.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/1.188, allocations: 137 kB / 0.8081 GB, free: 38.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002532/1.188, allocations: 0.597 MB / 0.8087 GB, free: 37.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/1.192, allocations: 2.972 MB / 0.8116 GB, free: 36.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004434/1.196, allocations: 6.896 MB / 0.8183 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004664/1.201, allocations: 4.473 MB / 0.8227 GB, free: 28.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.171e-05/1.201, allocations: 39.53 kB / 0.8227 GB, free: 28.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01566/1.216, allocations: 10.74 MB / 0.8332 GB, free: 25.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.355e-05/1.217, allocations: 71 kB / 0.8333 GB, free: 25.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-05/1.217, allocations: 136.8 kB / 0.8334 GB, free: 25.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/1.219, allocations: 1.132 MB / 0.8345 GB, free: 24.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005264/1.224, allocations: 1.709 MB / 0.8362 GB, free: 24.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005806/1.23, allocations: 5.921 MB / 0.8419 GB, free: 20.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005356/1.235, allocations: 421.7 kB / 0.8423 GB, free: 20.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.237, allocations: 429.8 kB / 0.8428 GB, free: 20.04 MB / 0.4948 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 () * 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.001018/1.238, allocations: 0.627 MB / 0.8434 GB, free: 19.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006929/1.238, allocations: 415.5 kB / 0.8438 GB, free: 19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007906/1.246, allocations: 5.573 MB / 0.8492 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-05/1.246, allocations: 28 kB / 0.8492 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.246, allocations: 4 kB / 0.8492 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/1.246, allocations: 10.27 kB / 0.8492 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/1.264, allocations: 12.27 MB / 0.8612 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/1.264, allocations: 8.312 kB / 0.8612 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002839/1.267, allocations: 0.5201 MB / 0.8617 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002189/1.27, allocations: 0.9314 MB / 0.8626 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003486/1.27, allocations: 52.97 kB / 0.8627 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005921/1.276, allocations: 5.651 MB / 0.8682 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.276, allocations: 4 kB / 0.8682 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/1.289, allocations: 9.838 MB / 0.8778 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/1.291, allocations: 0.91 MB / 0.8787 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005785/1.292, allocations: 51.95 kB / 0.8788 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/1.294, allocations: 188.4 kB / 0.8789 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/1.294, allocations: 153.3 kB / 0.8791 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/1.294, allocations: 74.09 kB / 0.8792 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004/1.298, allocations: 2.787 MB / 0.8819 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/1.298, allocations: 0 / 0.8819 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005385/1.304, allocations: 1.261 MB / 0.8831 GB, free: 0.8203 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 () * 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.0004884/1.304, allocations: 202.5 kB / 0.8833 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2569/1.561, allocations: 7.601 MB / 0.8907 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.561, allocations: 1.094 kB / 0.8907 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003781/1.565, allocations: 2.73 MB / 0.8934 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/1.567, allocations: 449.4 kB / 0.8938 GB, free: 97.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/1.582, allocations: 10.15 MB / 0.9037 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003218/1.585, allocations: 3.913 MB / 0.9076 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005206/1.591, allocations: 2.295 MB / 0.9098 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/1.592, allocations: 322.4 kB / 0.9101 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of SimCode: time 7.31e-07/1.592, allocations: 0 / 0.9101 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.07821/1.67, allocations: 47.7 MB / 0.9567 GB, free: 92.75 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches