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.0009726/0.0009726, allocations: 88.25 kB / 22.22 MB, free: 2.281 MB / 18.57 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.0009273/0.0009273, allocations: 169.2 kB / 25.61 MB, free: 8.914 MB / 18.57 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 0.8988/0.8988, allocations: 177 MB / 205.9 MB, free: 4.43 MB / 186.7 MB " [Timeout remaining time 179] 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 1.433e-06/1.433e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.411e-05, allocations: 4.422 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.008007/0.008021, allocations: 10.41 MB / 284.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006623/0.01464, allocations: 3.722 MB / 288.2 MB, free: 6.094 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000831/0.01548, allocations: 83.62 kB / 288.3 MB, free: 6.012 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002628/0.0181, allocations: 2.831 MB / 291.2 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.02036, allocations: 1.878 MB / 293 MB, free: 1.285 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006849/0.02105, allocations: 0.6354 MB / 293.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002629/0.02368, allocations: 3.977 MB / 297.6 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.0257, allocations: 3.084 MB / 300.7 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.02742, allocations: 2.288 MB / 303 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.02907, allocations: 2.096 MB / 305.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.02935, allocations: 312 kB / 305.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009251/0.03028, allocations: 0.979 MB / 306.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000979/0.03126, allocations: 1.917 MB / 308.3 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008093/0.03207, allocations: 1.199 MB / 309.5 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.03489, allocations: 4.238 MB / 313.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.03489, allocations: 0 / 313.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.03489, allocations: 4 kB / 313.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.66e-05/0.03493, allocations: 0 / 313.8 MB, free: 12.45 MB / 298.7 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.005326/0.04026, allocations: 5.24 MB / 319 MB, free: 7.148 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.04029, allocations: 12.03 kB / 319 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.04316, allocations: 1.407 MB / 320.4 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.04495, allocations: 1.813 MB / 322.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.04506, allocations: 225.8 kB / 322.5 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.04538, allocations: 299.8 kB / 322.7 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005321/0.0507, allocations: 5.111 MB / 327.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-05/0.05077, allocations: 39.64 kB / 327.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002577/0.05103, allocations: 151.9 kB / 328 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0013/0.05233, allocations: 1.517 MB / 329.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003268/0.0556, allocations: 2.168 MB / 331.7 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1538/0.2094, allocations: 40.89 MB / 372.6 MB, free: 45.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.2117, allocations: 0.9871 MB / 373.6 MB, free: 45.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.2121, allocations: 305.5 kB / 373.9 MB, free: 45.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003173/0.2153, allocations: 2.793 MB / 376.7 MB, free: 44.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2153, allocations: 50.34 kB / 376.7 MB, free: 44.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=93): time 2.725e-06/0.2153, allocations: 0.5938 kB / 376.7 MB, free: 44.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=94): time 0.005174/0.2205, allocations: 2.602 MB / 379.3 MB, free: 43.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2205, allocations: 136.5 kB / 379.5 MB, free: 43.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.2229, allocations: 3.54 MB / 383 MB, free: 42.78 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.223, allocations: 37.98 kB / 383.1 MB, free: 42.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.2241, allocations: 3.433 MB / 386.5 MB, free: 40.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.2243, allocations: 460.5 kB / 386.9 MB, free: 40.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008137/0.2252, allocations: 1.266 MB / 388.2 MB, free: 40.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.2252, allocations: 478.5 kB / 388.7 MB, free: 40 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006288/0.2258, allocations: 455.7 kB / 389.1 MB, free: 39.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.2279, allocations: 6.182 MB / 395.3 MB, free: 32.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003478/0.2314, allocations: 7.292 MB / 402.6 MB, free: 24.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.943e-05/0.2314, allocations: 38 kB / 402.6 MB, free: 24.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=729) (initialization): time 0.004107/0.2355, allocations: 4.536 MB / 407.2 MB, free: 20.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.548e-05/0.2356, allocations: 68.03 kB / 407.2 MB, free: 20.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-05/0.2356, allocations: 136 kB / 407.4 MB, free: 19.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/0.2359, allocations: 227.3 kB / 407.6 MB, free: 19.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.2376, allocations: 1.279 MB / 408.9 MB, free: 18.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008543/0.2385, allocations: 2.044 MB / 410.9 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.2403, allocations: 267.6 kB / 411.2 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/0.2405, allocations: 317.4 kB / 411.5 MB, free: 15.81 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (703): * Single equations (assignments): 699 * 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.0009058/0.2414, allocations: 0.6446 MB / 412.1 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/0.2417, allocations: 329.9 kB / 412.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005626/0.2422, allocations: 0.5287 MB / 413 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.2423, allocations: 12 kB / 413 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2423, allocations: 0 / 413 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.2423, allocations: 3.984 kB / 413 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.2457, allocations: 3.355 MB / 416.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2457, allocations: 4 kB / 416.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.246, allocations: 132 kB / 416.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.2462, allocations: 53.25 kB / 416.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.2462, allocations: 16 kB / 416.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005612/0.2468, allocations: 1.795 MB / 418.3 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2468, allocations: 7.938 kB / 418.4 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009097/0.2477, allocations: 1.453 MB / 419.8 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.2479, allocations: 285 kB / 420.1 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.2481, allocations: 20.02 kB / 420.1 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.2485, allocations: 24 kB / 420.1 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.2486, allocations: 55.78 kB / 420.2 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.2486, allocations: 31.98 kB / 420.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008811/0.2495, allocations: 1.398 MB / 421.6 MB, free: 5.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2495, allocations: 1.203 kB / 421.6 MB, free: 5.426 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002062/0.2516, allocations: 0.8358 MB / 422.4 MB, free: 4.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (71): * Single equations (assignments): 67 * 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.0002266/0.2518, allocations: 163 kB / 422.6 MB, free: 4.418 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.2535, allocations: 2.376 MB / 425 MB, free: 2.047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2535, allocations: 4 kB / 425 MB, free: 2.043 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.2538, allocations: 414.3 kB / 425.4 MB, free: 1.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.2548, allocations: 376.3 kB / 425.8 MB, free: 1.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.2614, allocations: 6.483 MB / 432.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.2626, allocations: 1.123 MB / 433.4 MB, free: 9.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009121/0.2635, allocations: 453.2 kB / 433.8 MB, free: 9.133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.2641, allocations: 0.5137 MB / 434.3 MB, free: 8.617 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2641, allocations: 0 / 434.3 MB, free: 8.617 MB / 346.7 MB Notification: Performance of Templates: time 0.03524/0.2993, allocations: 22.91 MB / 457.2 MB, free: 2.203 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.499214631970972]