Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.007229/0.007229, allocations: 100.7 kB / 21.96 MB, free: 5.211 MB / 14.72 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.001868/0.001868, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 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 1.277/1.277, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 54.58 kB / 348 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2182, allocations: 49.16 MB / 397.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.009143/0.2274, allocations: 10.24 MB / 407.4 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006601/0.234, allocations: 3.731 MB / 411.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.2352, allocations: 74.69 kB / 411.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004808/0.24, allocations: 2.653 MB / 413.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004799/0.2448, allocations: 1.938 MB / 415.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.2462, allocations: 0.5784 MB / 416.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005393/0.2515, allocations: 3.752 MB / 420.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003395/0.2549, allocations: 2.84 MB / 422.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.2574, allocations: 1.563 MB / 424.5 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.2605, allocations: 2.294 MB / 426.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006147/0.2611, allocations: 340 kB / 427.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.263, allocations: 0.983 MB / 428.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001923/0.2649, allocations: 1.975 MB / 430.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.2669, allocations: 1.666 MB / 431.7 MB, free: 384 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007755/0.2747, allocations: 7.268 MB / 439 MB, free: 9.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2747, allocations: 4 kB / 439 MB, free: 9.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2747, allocations: 0 / 439 MB, free: 9.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001153/0.2748, allocations: 0 / 439 MB, free: 9.074 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01743/0.2922, allocations: 5.379 MB / 444.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2923, allocations: 11.98 kB / 444.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001185/0.2924, allocations: 106.4 kB / 444.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00105/0.2935, allocations: 0.7278 MB / 445.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006601/0.3001, allocations: 1.928 MB / 447.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00512/0.3052, allocations: 2.762 MB / 449.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.3054, allocations: 238 kB / 450.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006669/0.306, allocations: 311.8 kB / 450.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/0.3245, allocations: 10.72 MB / 461.2 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/0.3246, allocations: 43.64 kB / 461.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004322/0.325, allocations: 151.8 kB / 461.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003449/0.3285, allocations: 1.985 MB / 463.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/0.3471, allocations: 9.57 MB / 472.9 MB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05027/0.3974, allocations: 38.13 MB / 0.4991 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.4109, allocations: 3.26 MB / 0.5023 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.4134, allocations: 1.724 MB / 0.504 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005169/0.4139, allocations: 136.6 kB / 0.5041 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.414, allocations: 47.56 kB / 0.5041 GB, free: 9.844 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 4.349e-06/0.414, allocations: 0 / 0.5041 GB, free: 9.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=154): time 0.04291/0.4569, allocations: 13.93 MB / 0.5177 GB, free: 11.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/0.457, allocations: 145.5 kB / 0.5179 GB, free: 11.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00614/0.4631, allocations: 4.192 MB / 0.522 GB, free: 7.473 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003583/0.4635, allocations: 45.7 kB / 0.522 GB, free: 7.422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002692/0.4662, allocations: 3.291 MB / 0.5252 GB, free: 4.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008649/0.467, allocations: 0.6436 MB / 0.5258 GB, free: 3.449 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/0.4687, allocations: 1.234 MB / 0.5271 GB, free: 2.203 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4688, allocations: 309 kB / 0.5273 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/0.472, allocations: 2.124 MB / 0.5294 GB, free: 15.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006178/0.4782, allocations: 5.952 MB / 0.5352 GB, free: 7.898 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.4886, allocations: 8.752 MB / 0.5438 GB, free: 13.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001024/0.4887, allocations: 43.94 kB / 0.5438 GB, free: 13.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01481/0.5036, allocations: 8.56 MB / 0.5522 GB, free: 4.621 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/0.5036, allocations: 67.98 kB / 0.5522 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/0.5038, allocations: 136 kB / 0.5524 GB, free: 4.422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/0.5061, allocations: 0.9179 MB / 0.5533 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/0.5102, allocations: 1.388 MB / 0.5546 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1575/0.6678, allocations: 5.044 MB / 0.5596 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003906/0.6717, allocations: 327.1 kB / 0.5599 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005981/0.6723, allocations: 388.7 kB / 0.5602 GB, free: 138.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (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 (736): * Single equations (assignments): 732 * 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.002758/0.675, allocations: 2.095 MB / 0.5623 GB, free: 137.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005283/0.6756, allocations: 370.4 kB / 0.5626 GB, free: 137.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005177/0.6807, allocations: 3.141 MB / 0.5657 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.6808, allocations: 21.23 kB / 0.5657 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6808, allocations: 3.719 kB / 0.5657 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.6808, allocations: 7.812 kB / 0.5657 GB, free: 136.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.692, allocations: 7.471 MB / 0.573 GB, free: 134.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.692, allocations: 1.375 kB / 0.573 GB, free: 134.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.6932, allocations: 262.4 kB / 0.5733 GB, free: 134.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.6952, allocations: 0.7162 MB / 0.574 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.6953, allocations: 35.7 kB / 0.574 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004592/0.6999, allocations: 4.611 MB / 0.5785 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6999, allocations: 3.719 kB / 0.5785 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006473/0.7064, allocations: 5.693 MB / 0.5841 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.7075, allocations: 0.5753 MB / 0.5846 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003589/0.7079, allocations: 26.81 kB / 0.5847 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.7091, allocations: 87.12 kB / 0.5848 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.7093, allocations: 101.7 kB / 0.5848 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.7094, allocations: 51.56 kB / 0.5849 GB, free: 129.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002761/0.7122, allocations: 2.615 MB / 0.5875 GB, free: 128.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7122, allocations: 3.906 kB / 0.5875 GB, free: 128.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003788/0.716, allocations: 0.9569 MB / 0.5884 GB, free: 128 MB / 478.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 (123): * Single equations (assignments): 119 * 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.006531/0.7225, allocations: 6.32 MB / 0.5946 GB, free: 123.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005585/0.7281, allocations: 4.913 MB / 0.5994 GB, free: 118.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7281, allocations: 0 / 0.5994 GB, free: 118.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.7296, allocations: 1.441 MB / 0.6008 GB, free: 117 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.7317, allocations: 441.3 kB / 0.6012 GB, free: 116.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04298/0.7747, allocations: 46.4 MB / 0.6465 GB, free: 64.34 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002398/0.7771, allocations: 2.708 MB / 0.6491 GB, free: 61.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003516/0.7806, allocations: 1.929 MB / 0.651 GB, free: 59.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/0.7826, allocations: 1.878 MB / 0.6529 GB, free: 57.78 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7826, allocations: 0 / 0.6529 GB, free: 57.78 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/0.8836, allocations: 70.38 MB / 0.7216 GB, free: 3.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.1/18.98, allocations: 3.938 kB / 0.7216 GB, free: 3.281 MB / 494.1 MB " [Timeout remaining time 641] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 22.249646816053428]