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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001434, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.9 MB, free: 9.031 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.36 kB / 306.9 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09191/0.09314, allocations: 50.53 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2023/0.2955, allocations: 45.68 MB / 403.1 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02447/0.32, allocations: 9.533 MB / 412.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01021/0.3302, allocations: 200.8 kB / 412.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005219/0.3356, allocations: 2.665 MB / 415.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004955/0.3405, allocations: 1.635 MB / 417.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.3421, allocations: 0.5292 MB / 417.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006223/0.3483, allocations: 5.215 MB / 422.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00489/0.3532, allocations: 3.577 MB / 426.5 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.3558, allocations: 1.281 MB / 427.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/0.359, allocations: 2.118 MB / 429.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009395/0.3599, allocations: 224 kB / 430.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.3624, allocations: 1.01 MB / 431.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002229/0.3647, allocations: 1.73 MB / 432.8 MB, free: 96 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003277/0.368, allocations: 2.003 MB / 434.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005603/0.3736, allocations: 5.227 MB / 440.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3736, allocations: 0 / 440.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3736, allocations: 0 / 440.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002388/0.3738, allocations: 0 / 440.1 MB, free: 8.84 MB / 350.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.01919/0.393, allocations: 5.051 MB / 445.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3931, allocations: 8.031 kB / 445.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006924/0.4, allocations: 1.852 MB / 447 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004676/0.4047, allocations: 2.19 MB / 449.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.405, allocations: 225.6 kB / 449.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.4062, allocations: 303.8 kB / 449.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/0.4266, allocations: 10.02 MB / 459.7 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001883/0.4269, allocations: 47.58 kB / 459.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/0.428, allocations: 143.9 kB / 459.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003267/0.4313, allocations: 1.801 MB / 461.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.45, allocations: 8.967 MB / 470.6 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04795/0.498, allocations: 37.87 MB / 0.4966 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/0.511, allocations: 3.576 MB / 0.5001 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002396/0.5134, allocations: 1.688 MB / 0.5017 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006459/0.5141, allocations: 351.6 kB / 0.5021 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.5142, allocations: 51.12 kB / 0.5021 GB, free: 12.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.679e-06/0.5142, allocations: 0 / 0.5021 GB, free: 12.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.0418/0.556, allocations: 12.68 MB / 0.5145 GB, free: 15.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.5561, allocations: 149.1 kB / 0.5147 GB, free: 15.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006393/0.5625, allocations: 4.048 MB / 0.5186 GB, free: 11.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.5628, allocations: 41.7 kB / 0.5186 GB, free: 11.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001897/0.5647, allocations: 3.008 MB / 0.5216 GB, free: 8.434 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005906/0.5653, allocations: 0.5481 MB / 0.5221 GB, free: 7.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001507/0.5668, allocations: 1.162 MB / 0.5233 GB, free: 6.703 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.5669, allocations: 309 kB / 0.5235 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/0.5695, allocations: 1.963 MB / 0.5255 GB, free: 4.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1878/0.7574, allocations: 5.648 MB / 0.531 GB, free: 140.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008952/0.7664, allocations: 8.248 MB / 0.539 GB, free: 134.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000235/0.7666, allocations: 38.91 kB / 0.5391 GB, free: 134.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.0159/0.7825, allocations: 8.083 MB / 0.547 GB, free: 131.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002156/0.7828, allocations: 60.75 kB / 0.547 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003207/0.7831, allocations: 132.1 kB / 0.5472 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/0.7859, allocations: 0.9119 MB / 0.548 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004453/0.7904, allocations: 1.316 MB / 0.5493 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005907/0.7963, allocations: 4.855 MB / 0.5541 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004179/0.8005, allocations: 313.5 kB / 0.5544 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009581/0.8015, allocations: 367.8 kB / 0.5547 GB, free: 128.9 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.003475/0.805, allocations: 1.98 MB / 0.5566 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000694/0.8057, allocations: 332.1 kB / 0.557 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004795/0.8105, allocations: 2.769 MB / 0.5597 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/0.8105, allocations: 15 kB / 0.5597 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.8106, allocations: 11.67 kB / 0.5597 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.8106, allocations: 11.64 kB / 0.5597 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.8224, allocations: 7.067 MB / 0.5666 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.8225, allocations: 3.938 kB / 0.5666 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009904/0.8235, allocations: 217.7 kB / 0.5668 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.8254, allocations: 0.7141 MB / 0.5675 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.8255, allocations: 27.98 kB / 0.5675 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004561/0.8301, allocations: 4.427 MB / 0.5719 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8301, allocations: 0 / 0.5719 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006491/0.8366, allocations: 5.086 MB / 0.5768 GB, free: 114 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007979/0.8374, allocations: 388.7 kB / 0.5772 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000644/0.8381, allocations: 24 kB / 0.5772 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.8395, allocations: 75.36 kB / 0.5773 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.8398, allocations: 96.08 kB / 0.5774 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.8399, allocations: 43.98 kB / 0.5774 GB, free: 113.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003586/0.8435, allocations: 2.533 MB / 0.5799 GB, free: 110.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.8435, allocations: 0 / 0.5799 GB, free: 110.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004708/0.8482, allocations: 0.8879 MB / 0.5808 GB, free: 110 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.0003796/0.8486, allocations: 157.5 kB / 0.5809 GB, free: 109.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006212/0.8548, allocations: 4.653 MB / 0.5855 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.8549, allocations: 0 / 0.5855 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.8564, allocations: 1.351 MB / 0.5868 GB, free: 103.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/0.8594, allocations: 409.2 kB / 0.5872 GB, free: 103.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.8741, allocations: 10.62 MB / 0.5975 GB, free: 92.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003381/0.8776, allocations: 3.061 MB / 0.6005 GB, free: 89.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000948/0.8785, allocations: 299.3 kB / 0.6008 GB, free: 89.41 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.8785, allocations: 0 / 0.6008 GB, free: 89.41 MB / 446.1 MB Notification: Performance of Templates: time 0.07838/0.9569, allocations: 70.8 MB / 0.67 GB, free: 18.66 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches