Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 109 kB / 21.23 MB, free: 0.5117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00208/0.00208, allocations: 209.9 kB / 24.54 MB, free: 3.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.3 MB / 258 MB, free: 8.453 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.88 kB / 378.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2991, allocations: 53.36 MB / 432.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01435/0.3134, allocations: 11.07 MB / 443.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008911/0.3223, allocations: 3.866 MB / 447.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.3238, allocations: 71.69 kB / 447.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005494/0.3293, allocations: 2.733 MB / 449.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004699/0.334, allocations: 1.798 MB / 451.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.3354, allocations: 0.5849 MB / 452.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005176/0.3406, allocations: 3.582 MB / 455.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003276/0.3438, allocations: 2.507 MB / 458.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.3467, allocations: 1.468 MB / 459.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003306/0.35, allocations: 2.149 MB / 461.9 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006458/0.3506, allocations: 316 kB / 462.3 MB, free: 8.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.3527, allocations: 1.073 MB / 463.3 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001865/0.3546, allocations: 1.835 MB / 465.2 MB, free: 5.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002168/0.3567, allocations: 2.078 MB / 467.2 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007514/0.3642, allocations: 6.682 MB / 473.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3643, allocations: 8 kB / 473.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3643, allocations: 0 / 473.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001013/0.3644, allocations: 0 / 473.9 MB, free: 13.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01796/0.3823, allocations: 5.085 MB / 479 MB, free: 7.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3824, allocations: 8.031 kB / 479 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007115/0.3895, allocations: 1.886 MB / 480.9 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005174/0.3946, allocations: 2.173 MB / 483.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.3948, allocations: 221.7 kB / 483.3 MB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007609/0.3956, allocations: 295.8 kB / 483.6 MB, free: 3.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/0.4145, allocations: 10.02 MB / 493.6 MB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.4146, allocations: 47.62 kB / 493.7 MB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004213/0.4151, allocations: 143.9 kB / 493.8 MB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003365/0.4184, allocations: 1.805 MB / 495.6 MB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.018/0.4364, allocations: 8.969 MB / 0.4927 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04617/0.4826, allocations: 37.67 MB / 0.5295 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01345/0.4961, allocations: 3.039 MB / 0.5325 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002297/0.4984, allocations: 1.579 MB / 0.534 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004876/0.4988, allocations: 120.5 kB / 0.5342 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.4989, allocations: 59.08 kB / 0.5342 GB, free: 2.086 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.557e-06/0.4989, allocations: 0 / 0.5342 GB, free: 2.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2581/0.757, allocations: 12.73 MB / 0.5466 GB, free: 97.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.757, allocations: 144.2 kB / 0.5468 GB, free: 97.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004218/0.7612, allocations: 4.058 MB / 0.5507 GB, free: 96.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.7614, allocations: 47.55 kB / 0.5508 GB, free: 95.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.7628, allocations: 3.135 MB / 0.5538 GB, free: 93.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004351/0.7632, allocations: 0.5654 MB / 0.5544 GB, free: 93.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/0.7643, allocations: 1.179 MB / 0.5556 GB, free: 92.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.903e-05/0.7643, allocations: 301.1 kB / 0.5558 GB, free: 92.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/0.7665, allocations: 1.965 MB / 0.5578 GB, free: 91.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003224/0.7697, allocations: 5.656 MB / 0.5633 GB, free: 84.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005785/0.7755, allocations: 8.255 MB / 0.5713 GB, free: 74.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.631e-05/0.7755, allocations: 36 kB / 0.5714 GB, free: 74.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01048/0.786, allocations: 8.084 MB / 0.5793 GB, free: 66.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/0.7861, allocations: 63.94 kB / 0.5793 GB, free: 66.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.879e-05/0.7861, allocations: 135.8 kB / 0.5795 GB, free: 66.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/0.7883, allocations: 0.9073 MB / 0.5803 GB, free: 65.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003248/0.7916, allocations: 1.314 MB / 0.5816 GB, free: 64.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005295/0.7969, allocations: 5.086 MB / 0.5866 GB, free: 58.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/0.8009, allocations: 311.6 kB / 0.5869 GB, free: 58.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004801/0.8014, allocations: 372 kB / 0.5873 GB, free: 58.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (699): * Single equations (assignments): 695 * 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.00243/0.8038, allocations: 1.981 MB / 0.5892 GB, free: 56.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005225/0.8043, allocations: 353.6 kB / 0.5895 GB, free: 55.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004448/0.8088, allocations: 2.751 MB / 0.5922 GB, free: 53.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.8088, allocations: 16 kB / 0.5922 GB, free: 53.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.8088, allocations: 4 kB / 0.5922 GB, free: 53.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.8088, allocations: 7.984 kB / 0.5922 GB, free: 53.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009584/0.8184, allocations: 7.025 MB / 0.5991 GB, free: 46.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.8184, allocations: 7.938 kB / 0.5991 GB, free: 46.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009539/0.8194, allocations: 211.7 kB / 0.5993 GB, free: 45.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/0.8213, allocations: 0.7187 MB / 0.6 GB, free: 45.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.696e-05/0.8214, allocations: 32.84 kB / 0.6 GB, free: 45.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004748/0.8262, allocations: 4.647 MB / 0.6046 GB, free: 40.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8262, allocations: 4.031 kB / 0.6046 GB, free: 40.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006133/0.8323, allocations: 5.094 MB / 0.6096 GB, free: 35.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008428/0.8331, allocations: 333.6 kB / 0.6099 GB, free: 34.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/0.8335, allocations: 20.56 kB / 0.6099 GB, free: 34.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.8346, allocations: 71.91 kB / 0.61 GB, free: 34.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.8349, allocations: 96.36 kB / 0.6101 GB, free: 34.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.835, allocations: 47.97 kB / 0.6101 GB, free: 34.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00292/0.8379, allocations: 2.533 MB / 0.6126 GB, free: 32.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8379, allocations: 0 / 0.6126 GB, free: 32.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004125/0.842, allocations: 0.8903 MB / 0.6134 GB, free: 31.26 MB / 446.1 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 (101): * Single equations (assignments): 97 * 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.0003491/0.8423, allocations: 158.9 kB / 0.6136 GB, free: 31.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005541/0.8479, allocations: 4.523 MB / 0.618 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8479, allocations: 4 kB / 0.618 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.8493, allocations: 1.264 MB / 0.6192 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.8515, allocations: 438.2 kB / 0.6197 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.8619, allocations: 8.517 MB / 0.628 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/0.8641, allocations: 3.06 MB / 0.631 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003309/0.8674, allocations: 1.842 MB / 0.6328 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005929/0.868, allocations: 255.3 kB / 0.633 GB, free: 11.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.868, allocations: 0 / 0.633 GB, free: 11.15 MB / 446.1 MB Notification: Performance of Templates: time 0.06917/0.9372, allocations: 35.87 MB / 0.668 GB, free: 7.523 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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: 6.557552698999643]