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.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.001313/0.001313, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0009037/0.0009037, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8184/0.8184, allocations: 158.6 MB / 185.7 MB, free: 3.023 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.1347/0.1347, allocations: 32.36 MB / 270.3 MB, free: 14.98 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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 408.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.942e-05, allocations: 9.938 kB / 408.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.008081/0.008111, allocations: 10.36 MB / 418.5 MB, free: 7.32 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005262/0.01337, allocations: 3.746 MB / 422.2 MB, free: 3.562 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007624/0.01413, allocations: 87.56 kB / 422.3 MB, free: 3.477 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002672/0.01681, allocations: 2.768 MB / 425.1 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002539/0.01935, allocations: 2.014 MB / 427.1 MB, free: 14.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009881/0.02033, allocations: 0.7328 MB / 427.8 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002866/0.0232, allocations: 4.123 MB / 431.9 MB, free: 9.805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/0.02538, allocations: 3.189 MB / 435.1 MB, free: 6.551 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.02725, allocations: 2.362 MB / 437.5 MB, free: 4.184 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.02913, allocations: 2.244 MB / 439.7 MB, free: 1.934 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003327/0.02947, allocations: 352 kB / 440.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.03067, allocations: 1.034 MB / 441.1 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.03172, allocations: 2.065 MB / 443.2 MB, free: 14.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008795/0.0326, allocations: 1.324 MB / 444.5 MB, free: 13.16 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005184/0.03779, allocations: 7.266 MB / 451.8 MB, free: 5.867 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.03779, allocations: 0 / 451.8 MB, free: 5.867 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.03779, allocations: 0 / 451.8 MB, free: 5.867 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001075/0.0379, allocations: 0 / 451.8 MB, free: 5.867 MB / 426.7 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.009693/0.04759, allocations: 5.535 MB / 457.3 MB, free: 280 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.04763, allocations: 12.03 kB / 457.3 MB, free: 268 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/0.05114, allocations: 1.949 MB / 459.3 MB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.05399, allocations: 2.318 MB / 461.6 MB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.05411, allocations: 248.7 kB / 461.8 MB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000381/0.05449, allocations: 319.8 kB / 462.1 MB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1827/0.2372, allocations: 10.84 MB / 473 MB, free: 94.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.2373, allocations: 42.05 kB / 473 MB, free: 94.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008557/0.2382, allocations: 154.8 kB / 473.2 MB, free: 94.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001843/0.24, allocations: 1.979 MB / 475.2 MB, free: 94.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/0.252, allocations: 9.717 MB / 484.9 MB, free: 91.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02583/0.2778, allocations: 36.69 MB / 0.5093 GB, free: 66.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007542/0.2854, allocations: 3.563 MB / 0.5128 GB, free: 65.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.2871, allocations: 1.76 MB / 0.5145 GB, free: 65.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004488/0.2875, allocations: 233.7 kB / 0.5148 GB, free: 65.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.2875, allocations: 56.11 kB / 0.5148 GB, free: 65.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 4.318e-06/0.2876, allocations: 2.953 kB / 0.5148 GB, free: 65.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.0234/0.3109, allocations: 14.63 MB / 0.5291 GB, free: 55.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.311, allocations: 141.5 kB / 0.5292 GB, free: 54.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003098/0.3141, allocations: 3.866 MB / 0.533 GB, free: 51.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.33e-05/0.3142, allocations: 49.7 kB / 0.5331 GB, free: 51.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009172/0.3151, allocations: 3.249 MB / 0.5362 GB, free: 47.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003312/0.3154, allocations: 0.6363 MB / 0.5369 GB, free: 47.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007956/0.3162, allocations: 1.199 MB / 0.538 GB, free: 46.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.571e-05/0.3162, allocations: 305.1 kB / 0.5383 GB, free: 45.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.3179, allocations: 2.108 MB / 0.5404 GB, free: 43.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/0.3203, allocations: 5.819 MB / 0.5461 GB, free: 36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004716/0.325, allocations: 8.575 MB / 0.5544 GB, free: 25.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.09e-05/0.325, allocations: 47.94 kB / 0.5545 GB, free: 25.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.006994/0.332, allocations: 8.396 MB / 0.5627 GB, free: 17.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.862e-05/0.3321, allocations: 60 kB / 0.5627 GB, free: 17.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/0.3322, allocations: 133 kB / 0.5629 GB, free: 16.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.3334, allocations: 0.9121 MB / 0.5637 GB, free: 16.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.3353, allocations: 1.384 MB / 0.5651 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.3386, allocations: 5.016 MB / 0.57 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.3407, allocations: 363.5 kB / 0.5703 GB, free: 9.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/0.3409, allocations: 376 kB / 0.5707 GB, free: 8.812 MB / 442.7 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.001943/0.3428, allocations: 2.095 MB / 0.5727 GB, free: 6.707 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.3431, allocations: 317.8 kB / 0.5731 GB, free: 6.395 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/0.3459, allocations: 3.143 MB / 0.5761 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.3459, allocations: 16 kB / 0.5761 GB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3459, allocations: 4 kB / 0.5761 GB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.346, allocations: 3.984 kB / 0.5761 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00701/0.353, allocations: 6.963 MB / 0.5829 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.353, allocations: 4 kB / 0.5829 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/0.3537, allocations: 311.6 kB / 0.5832 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.3548, allocations: 0.7224 MB / 0.584 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.86e-05/0.3549, allocations: 39.97 kB / 0.584 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00386/0.3588, allocations: 4.622 MB / 0.5885 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3588, allocations: 2.578 kB / 0.5885 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005296/0.3641, allocations: 5.703 MB / 0.5941 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007247/0.3648, allocations: 0.5522 MB / 0.5946 GB, free: 136 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.365, allocations: 35.59 kB / 0.5946 GB, free: 104 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/0.3657, allocations: 127.8 kB / 0.5948 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.3659, allocations: 108.8 kB / 0.5949 GB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.3659, allocations: 55.97 kB / 0.5949 GB, free: 15.82 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002055/0.368, allocations: 2.244 MB / 0.5971 GB, free: 13.58 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.368, allocations: 0 / 0.5971 GB, free: 13.58 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002955/0.371, allocations: 1.023 MB / 0.5981 GB, free: 12.56 MB / 474.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 (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.0003444/0.3713, allocations: 185.3 kB / 0.5983 GB, free: 12.37 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00465/0.376, allocations: 4.865 MB / 0.603 GB, free: 7.523 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.376, allocations: 0 / 0.603 GB, free: 7.523 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.3772, allocations: 1.457 MB / 0.6045 GB, free: 6.059 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.3784, allocations: 372.1 kB / 0.6048 GB, free: 5.715 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.3885, allocations: 9.546 MB / 0.6141 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/0.3907, allocations: 2.7 MB / 0.6168 GB, free: 9.363 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005921/0.3913, allocations: 312.4 kB / 0.6171 GB, free: 9.059 MB / 490.7 MB Notification: Performance of SimCode: time 6.82e-07/0.3913, allocations: 0 / 0.6171 GB, free: 9.059 MB / 490.7 MB Notification: Performance of Templates: time 0.2423/0.6336, allocations: 76.54 MB / 0.6918 GB, free: 140.9 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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: 8.357276908122003]