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.0008099/0.0008099, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.0008919/0.0008919, allocations: 165 kB / 23.8 MB, free: 0.7773 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.9588/0.9588, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1326/0.1326, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.122e-06/1.122e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.699e-05, allocations: 12.22 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.009785/0.009802, allocations: 13.42 MB / 361.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008816/0.01862, allocations: 4.315 MB / 365.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.02032, allocations: 95.56 kB / 365.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004629/0.02495, allocations: 4.026 MB / 369.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004319/0.02927, allocations: 2.255 MB / 371.8 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.03073, allocations: 0.877 MB / 372.7 MB, free: 360 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00394/0.03467, allocations: 4.801 MB / 377.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003532/0.0382, allocations: 4.184 MB / 381.7 MB, free: 7.289 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/0.04094, allocations: 3.087 MB / 384.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.04306, allocations: 2.642 MB / 387.4 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004021/0.04346, allocations: 436 kB / 387.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.04488, allocations: 1.112 MB / 388.9 MB, free: 8 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.04631, allocations: 2.501 MB / 391.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.04741, allocations: 1.616 MB / 393 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.05125, allocations: 5.421 MB / 398.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.05125, allocations: 0 / 398.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.05125, allocations: 0 / 398.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.752e-05/0.05129, allocations: 3.938 kB / 398.5 MB, free: 6.434 MB / 330.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.00693/0.05822, allocations: 6.863 MB / 405.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.05828, allocations: 12.03 kB / 405.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.06247, allocations: 2.564 MB / 407.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002499/0.06497, allocations: 2.505 MB / 410.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.06512, allocations: 312 kB / 410.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004136/0.06553, allocations: 407.8 kB / 411.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007503/0.07303, allocations: 7.105 MB / 418.2 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-05/0.07311, allocations: 47.56 kB / 418.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003121/0.07343, allocations: 195.8 kB / 418.5 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001781/0.07521, allocations: 2.133 MB / 420.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006188/0.08139, allocations: 3.684 MB / 424.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2277/0.3091, allocations: 48.48 MB / 472.7 MB, free: 59.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004779/0.3139, allocations: 1.974 MB / 474.7 MB, free: 59.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007677/0.3147, allocations: 0.6461 MB / 475.4 MB, free: 59.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00603/0.3207, allocations: 5.194 MB / 480.6 MB, free: 58.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3207, allocations: 51.98 kB / 480.6 MB, free: 57.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=170): time 2.745e-06/0.3207, allocations: 0.625 kB / 480.6 MB, free: 57.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=180): time 0.01526/0.336, allocations: 10.79 MB / 491.4 MB, free: 54.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.336, allocations: 150.8 kB / 491.5 MB, free: 54.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003044/0.3391, allocations: 3.893 MB / 495.4 MB, free: 51.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.442e-05/0.3391, allocations: 53.7 kB / 495.5 MB, free: 51.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.3404, allocations: 4.029 MB / 499.5 MB, free: 48.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.3407, allocations: 0.7626 MB / 0.4886 GB, free: 47.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009138/0.3416, allocations: 1.435 MB / 0.49 GB, free: 46.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.613e-05/0.3417, allocations: 476.8 kB / 0.4904 GB, free: 45.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009015/0.3426, allocations: 0.7001 MB / 0.4911 GB, free: 44.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.345, allocations: 6.93 MB / 0.4979 GB, free: 35.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004315/0.3493, allocations: 8.439 MB / 0.5061 GB, free: 24.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.884e-05/0.3494, allocations: 44 kB / 0.5062 GB, free: 24.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.00531/0.3547, allocations: 5.839 MB / 0.5119 GB, free: 18.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.3547, allocations: 71.28 kB / 0.5119 GB, free: 18.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.657e-05/0.3548, allocations: 156.2 kB / 0.5121 GB, free: 18.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003993/0.3552, allocations: 299.5 kB / 0.5124 GB, free: 17.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/0.3575, allocations: 1.602 MB / 0.5139 GB, free: 16.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.3586, allocations: 2.246 MB / 0.5161 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.3606, allocations: 395.5 kB / 0.5165 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/0.3608, allocations: 421.8 kB / 0.5169 GB, free: 13.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 681 * 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 (844): * Single equations (assignments): 840 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.3619, allocations: 0.7111 MB / 0.5176 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.3622, allocations: 413.6 kB / 0.518 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.3637, allocations: 1.344 MB / 0.5193 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.3637, allocations: 22.66 kB / 0.5193 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3637, allocations: 4 kB / 0.5193 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3637, allocations: 7.969 kB / 0.5193 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006613/0.3703, allocations: 5.808 MB / 0.525 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3703, allocations: 4 kB / 0.525 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007607/0.3711, allocations: 344.1 kB / 0.5253 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002739/0.3714, allocations: 111.5 kB / 0.5254 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/0.3714, allocations: 42.64 kB / 0.5255 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008991/0.3723, allocations: 1.965 MB / 0.5274 GB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3724, allocations: 4 kB / 0.5274 GB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.3747, allocations: 2.645 MB / 0.53 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006354/0.3754, allocations: 0.5393 MB / 0.5305 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.3756, allocations: 36 kB / 0.5305 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.3763, allocations: 111.8 kB / 0.5307 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.3765, allocations: 132.6 kB / 0.5308 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.928e-05/0.3766, allocations: 63.41 kB / 0.5308 GB, free: 14.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001731/0.3783, allocations: 1.655 MB / 0.5325 GB, free: 12.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3783, allocations: 0 / 0.5325 GB, free: 12.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003177/0.3815, allocations: 1.124 MB / 0.5336 GB, free: 11.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (166): * Single equations (assignments): 162 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003768/0.3818, allocations: 189.5 kB / 0.5337 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003929/0.3858, allocations: 3.262 MB / 0.5369 GB, free: 8.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3858, allocations: 0 / 0.5369 GB, free: 8.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.3867, allocations: 0.8246 MB / 0.5377 GB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.388, allocations: 445.6 kB / 0.5382 GB, free: 7.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.398, allocations: 8.929 MB / 0.5469 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.3991, allocations: 1.455 MB / 0.5483 GB, free: 12.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002314/0.4014, allocations: 1.742 MB / 0.55 GB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/0.4019, allocations: 256.5 kB / 0.5502 GB, free: 10.44 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4019, allocations: 0 / 0.5502 GB, free: 10.44 MB / 410.7 MB Notification: Performance of Templates: time 0.04522/0.4471, allocations: 30.49 MB / 0.58 GB, free: 12.12 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2685147621668875]