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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009252/0.0009252, allocations: 76.47 kB / 20.69 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 165.9 kB / 23.96 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8805/0.8805, allocations: 158.6 MB / 185.7 MB, free: 2.984 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1305/0.1305, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 3.938 kB / 408.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.264e-05, allocations: 6.078 kB / 408.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.009137/0.00916, allocations: 12.06 MB / 420.2 MB, free: 5.594 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007145/0.0163, allocations: 4.206 MB / 424.4 MB, free: 1.375 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.01821, allocations: 95.56 kB / 424.5 MB, free: 1.281 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003713/0.02192, allocations: 3.827 MB / 428.3 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00386/0.02578, allocations: 2.251 MB / 430.6 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.02702, allocations: 0.8692 MB / 431.4 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004472/0.03149, allocations: 4.793 MB / 436.2 MB, free: 5.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00408/0.03557, allocations: 4.069 MB / 440.3 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003001/0.03857, allocations: 2.92 MB / 443.2 MB, free: 14.44 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.04115, allocations: 2.669 MB / 445.9 MB, free: 11.76 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008025/0.04195, allocations: 444 kB / 446.3 MB, free: 11.33 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.04328, allocations: 1.127 MB / 447.4 MB, free: 10.2 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.0446, allocations: 2.497 MB / 449.9 MB, free: 7.695 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.04577, allocations: 1.624 MB / 451.6 MB, free: 6.066 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006395/0.05217, allocations: 8.672 MB / 460.2 MB, free: 13.37 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.05217, allocations: 0 / 460.2 MB, free: 13.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.05217, allocations: 0 / 460.2 MB, free: 13.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001216/0.05229, allocations: 4 kB / 460.2 MB, free: 13.36 MB / 442.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.01135/0.06365, allocations: 6.675 MB / 466.9 MB, free: 6.621 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.06369, allocations: 8.031 kB / 466.9 MB, free: 6.613 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003951/0.06764, allocations: 2.057 MB / 469 MB, free: 4.547 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.07105, allocations: 2.748 MB / 471.7 MB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.07121, allocations: 304 kB / 472 MB, free: 1.449 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000509/0.07172, allocations: 411.8 kB / 472.4 MB, free: 1.047 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1878/0.2595, allocations: 13 MB / 485.4 MB, free: 89.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.2596, allocations: 49.86 kB / 485.5 MB, free: 89.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003997/0.26, allocations: 194.2 kB / 485.7 MB, free: 89.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002382/0.2624, allocations: 2.37 MB / 488 MB, free: 89.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.2773, allocations: 11.87 MB / 499.9 MB, free: 85.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03544/0.3127, allocations: 45.06 MB / 0.5322 GB, free: 51.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008923/0.3216, allocations: 5.291 MB / 0.5373 GB, free: 46.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/0.3238, allocations: 3.334 MB / 0.5406 GB, free: 43.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/0.3242, allocations: 241 kB / 0.5408 GB, free: 43.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3243, allocations: 55.81 kB / 0.5409 GB, free: 43.01 MB / 442.7 MB Notification: Performance of pre-optimization done (n=224): time 4.378e-06/0.3243, allocations: 0 / 0.5409 GB, free: 43.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=255): time 0.04017/0.3644, allocations: 29.52 MB / 0.5697 GB, free: 13.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3645, allocations: 158.5 kB / 0.5699 GB, free: 13.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/0.3675, allocations: 4.156 MB / 0.5739 GB, free: 9.562 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001774/0.3676, allocations: 69.7 kB / 0.574 GB, free: 9.488 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008686/0.3685, allocations: 3.674 MB / 0.5776 GB, free: 5.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004618/0.369, allocations: 0.9903 MB / 0.5786 GB, free: 4.863 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.3701, allocations: 1.495 MB / 0.58 GB, free: 3.359 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.967e-05/0.3701, allocations: 305.1 kB / 0.5803 GB, free: 3.059 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/0.373, allocations: 3.473 MB / 0.5837 GB, free: 15.58 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006174/0.3791, allocations: 7.403 MB / 0.5909 GB, free: 6.238 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009833/0.389, allocations: 11.7 MB / 0.6024 GB, free: 8.586 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.712e-05/0.389, allocations: 44 kB / 0.6024 GB, free: 8.543 MB / 474.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01275/0.4018, allocations: 11.81 MB / 0.6139 GB, free: 12.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/0.4018, allocations: 64 kB / 0.614 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.49e-05/0.4019, allocations: 136.9 kB / 0.6141 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/0.4035, allocations: 1.122 MB / 0.6152 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00308/0.4066, allocations: 1.817 MB / 0.617 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005623/0.4122, allocations: 6.177 MB / 0.623 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/0.4151, allocations: 463.6 kB / 0.6235 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004033/0.4155, allocations: 467.8 kB / 0.6239 GB, free: 2.391 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * 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 (857): * Single equations (assignments): 853 * 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.003073/0.4186, allocations: 2.435 MB / 0.6263 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/0.4191, allocations: 393.2 kB / 0.6267 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00695/0.426, allocations: 6.558 MB / 0.6331 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/0.426, allocations: 28 kB / 0.6331 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.426, allocations: 4 kB / 0.6331 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.4261, allocations: 13.36 kB / 0.6331 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.4393, allocations: 12.23 MB / 0.6451 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.4393, allocations: 4 kB / 0.6451 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/0.4409, allocations: 0.6321 MB / 0.6457 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.4427, allocations: 0.9542 MB / 0.6466 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/0.4429, allocations: 107.9 kB / 0.6467 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00516/0.4481, allocations: 5.918 MB / 0.6525 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4481, allocations: 11.56 kB / 0.6525 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1994/0.6475, allocations: 11.09 MB / 0.6633 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/0.6492, allocations: 0.854 MB / 0.6642 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/0.6495, allocations: 52.47 kB / 0.6642 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.6508, allocations: 227.7 kB / 0.6644 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/0.6511, allocations: 210.4 kB / 0.6646 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.6512, allocations: 128.7 kB / 0.6648 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002151/0.6534, allocations: 2.423 MB / 0.6671 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6534, allocations: 3 kB / 0.6671 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003591/0.657, allocations: 1.325 MB / 0.6684 GB, free: 153.6 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 (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 Backend phase and start with SimCode phase: time 0.0004173/0.6574, allocations: 212.1 kB / 0.6686 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006755/0.6641, allocations: 7.903 MB / 0.6763 GB, free: 151 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.6641, allocations: 3.391 kB / 0.6763 GB, free: 151 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002327/0.6665, allocations: 3.039 MB / 0.6793 GB, free: 150 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.668, allocations: 437.2 kB / 0.6797 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.6821, allocations: 13.11 MB / 0.6925 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00303/0.6852, allocations: 3.271 MB / 0.6957 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/0.6868, allocations: 0.5058 MB / 0.6962 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.644e-06/0.6868, allocations: 0 / 0.6962 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.07184/0.7587, allocations: 99.12 MB / 0.793 GB, free: 55.45 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.07542469818145]