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.001499/0.001499, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001566/0.001566, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.524/1.524, allocations: 230.5 MB / 254 MB, free: 15.15 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 59.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1144, allocations: 53.37 MB / 426.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01326/0.1276, allocations: 11.04 MB / 437.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007752/0.1354, allocations: 3.847 MB / 441.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1365, allocations: 75.62 kB / 441.3 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004842/0.1414, allocations: 2.706 MB / 444 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004092/0.1455, allocations: 1.794 MB / 445.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.1467, allocations: 0.5771 MB / 446.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2323/0.3791, allocations: 3.575 MB / 450 MB, free: 8.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005713/0.3848, allocations: 2.983 MB / 452.9 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002979/0.3878, allocations: 1.47 MB / 454.4 MB, free: 7.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003647/0.3914, allocations: 2.145 MB / 456.6 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.3925, allocations: 319.7 kB / 456.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.395, allocations: 1.066 MB / 457.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002113/0.3971, allocations: 1.838 MB / 459.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.3996, allocations: 2.085 MB / 461.9 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.4106, allocations: 6.685 MB / 468.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4106, allocations: 7.938 kB / 468.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4106, allocations: 1.188 kB / 468.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002859/0.4109, allocations: 0 / 468.6 MB, free: 3.766 MB / 366.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.02848/0.4394, allocations: 5.173 MB / 473.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.4394, allocations: 12.56 kB / 473.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002131/0.4416, allocations: 0.6788 MB / 474.4 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.4529, allocations: 1.891 MB / 476.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006803/0.4597, allocations: 2.47 MB / 478.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.4599, allocations: 228 kB / 479 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.4611, allocations: 300.6 kB / 479.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02258/0.4837, allocations: 10.03 MB / 489.3 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001485/0.4838, allocations: 39.61 kB / 489.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005629/0.4844, allocations: 143.7 kB / 489.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003738/0.4881, allocations: 1.811 MB / 491.3 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02118/0.5093, allocations: 8.961 MB / 0.4886 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05474/0.5641, allocations: 37.82 MB / 0.5255 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.578, allocations: 3.478 MB / 0.5289 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002665/0.5807, allocations: 1.578 MB / 0.5304 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007353/0.5814, allocations: 358.2 kB / 0.5308 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.5814, allocations: 55 kB / 0.5308 GB, free: 0.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.689e-06/0.5814, allocations: 0 / 0.5308 GB, free: 0.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04652/0.628, allocations: 12.9 MB / 0.5434 GB, free: 3.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/0.6281, allocations: 145.2 kB / 0.5435 GB, free: 3.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006661/0.6347, allocations: 4.061 MB / 0.5475 GB, free: 15.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003953/0.6351, allocations: 41.7 kB / 0.5476 GB, free: 15.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002997/0.6381, allocations: 3.128 MB / 0.5506 GB, free: 12.53 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/0.6392, allocations: 0.5651 MB / 0.5512 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001826/0.641, allocations: 1.174 MB / 0.5523 GB, free: 10.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6411, allocations: 309.1 kB / 0.5526 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/0.6444, allocations: 1.955 MB / 0.5545 GB, free: 8.523 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006729/0.6511, allocations: 5.642 MB / 0.56 GB, free: 1.027 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.6622, allocations: 8.237 MB / 0.5681 GB, free: 6.969 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/0.6623, allocations: 40 kB / 0.5681 GB, free: 6.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01809/0.6804, allocations: 8.057 MB / 0.576 GB, free: 14.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.6805, allocations: 60 kB / 0.576 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001769/0.6807, allocations: 132 kB / 0.5761 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/0.6835, allocations: 0.91 MB / 0.577 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00467/0.6882, allocations: 1.31 MB / 0.5783 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007596/0.6958, allocations: 5.197 MB / 0.5834 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004876/0.7007, allocations: 307.7 kB / 0.5837 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.7017, allocations: 368 kB / 0.584 GB, free: 6.465 MB / 494.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 (695): * Single equations (assignments): 691 * 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.004129/0.7058, allocations: 1.991 MB / 0.586 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007531/0.7066, allocations: 349.7 kB / 0.5863 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005858/0.7124, allocations: 2.759 MB / 0.589 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/0.7125, allocations: 19.84 kB / 0.589 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.7125, allocations: 4 kB / 0.589 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.7125, allocations: 7.969 kB / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.7274, allocations: 7.058 MB / 0.5959 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.7274, allocations: 4 kB / 0.5959 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.7285, allocations: 207.7 kB / 0.5961 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002308/0.7308, allocations: 0.7184 MB / 0.5968 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.731, allocations: 39.09 kB / 0.5969 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006804/0.7378, allocations: 4.746 MB / 0.6015 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.7378, allocations: 4.031 kB / 0.6015 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009256/0.7471, allocations: 5.102 MB / 0.6065 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.7483, allocations: 414.5 kB / 0.6069 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004419/0.7487, allocations: 16 kB / 0.6069 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.75, allocations: 75.91 kB / 0.607 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/0.7503, allocations: 88.47 kB / 0.6071 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.7504, allocations: 51.72 kB / 0.6071 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005011/0.7554, allocations: 2.537 MB / 0.6096 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7554, allocations: 0 / 0.6096 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006157/0.7616, allocations: 0.8827 MB / 0.6105 GB, free: 11.13 MB / 0.5137 GB 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.009545/0.7711, allocations: 5.734 MB / 0.6161 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008728/0.7799, allocations: 4.505 MB / 0.6204 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.7799, allocations: 0 / 0.6204 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/0.7821, allocations: 1.272 MB / 0.6217 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.785, allocations: 428.1 kB / 0.6221 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2726/1.058, allocations: 43.51 MB / 0.6646 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002786/1.06, allocations: 3.057 MB / 0.6676 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003388/1.064, allocations: 1.844 MB / 0.6694 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001951/1.066, allocations: 1.754 MB / 0.6711 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.152e-06/1.066, allocations: 3.062 kB / 0.6711 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09783/1.163, allocations: 64.6 MB / 0.7342 GB, free: 96.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.09/23.25, allocations: 15.75 kB / 0.7342 GB, free: 96.18 MB / 0.5294 GB " [Timeout remaining time 637] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.01425833895337]