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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 104.4 kB / 18.35 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 47.92 kB / 282.1 MB, free: 2.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08411, allocations: 46.63 MB / 328.7 MB, free: 3.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0118/0.09596, allocations: 11.75 MB / 340.5 MB, free: 7.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006499/0.1025, allocations: 3.922 MB / 344.4 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007555/0.1033, allocations: 67.81 kB / 344.5 MB, free: 3.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004367/0.1077, allocations: 2.702 MB / 347.2 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003606/0.1113, allocations: 1.891 MB / 349.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1125, allocations: 0.5732 MB / 349.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004245/0.1167, allocations: 3.762 MB / 353.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00361/0.1203, allocations: 3.69 MB / 357.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.1222, allocations: 1.542 MB / 358.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/0.1246, allocations: 2.118 MB / 360.7 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004913/0.1251, allocations: 336 kB / 361.1 MB, free: 3.273 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.1268, allocations: 1.069 MB / 362.1 MB, free: 2.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001574/0.1284, allocations: 1.917 MB / 364.1 MB, free: 288 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.1303, allocations: 2.237 MB / 366.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006024/0.1363, allocations: 7.182 MB / 373.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1363, allocations: 0 / 373.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1364, allocations: 0 / 373.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001015/0.1365, allocations: 4 kB / 373.5 MB, free: 6.82 MB / 318.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.01551/0.152, allocations: 5.31 MB / 378.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.152, allocations: 8.031 kB / 378.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1644/0.3165, allocations: 1.88 MB / 380.7 MB, free: 49.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00653/0.323, allocations: 2.387 MB / 383.1 MB, free: 48.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/0.3234, allocations: 237.2 kB / 383.3 MB, free: 48.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.3247, allocations: 314.3 kB / 383.6 MB, free: 48.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01951/0.3443, allocations: 10.72 MB / 394.3 MB, free: 44.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/0.3444, allocations: 49.97 kB / 394.4 MB, free: 44.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004327/0.3449, allocations: 148.9 kB / 394.5 MB, free: 43.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002883/0.3478, allocations: 1.983 MB / 396.5 MB, free: 43.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01638/0.3642, allocations: 9.563 MB / 406.1 MB, free: 35.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04113/0.4053, allocations: 39.75 MB / 445.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/0.4184, allocations: 3.836 MB / 449.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002486/0.4209, allocations: 1.849 MB / 451.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/0.4215, allocations: 356.2 kB / 451.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.4216, allocations: 47.56 kB / 451.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=148): time 3.436e-06/0.4216, allocations: 0 / 451.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=154): time 0.042/0.4636, allocations: 13.76 MB / 465.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.4637, allocations: 149.4 kB / 465.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/0.4688, allocations: 4.163 MB / 470 MB, free: 1.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002168/0.469, allocations: 47.67 kB / 470 MB, free: 1.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001946/0.471, allocations: 3.172 MB / 473.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005869/0.4715, allocations: 0.6135 MB / 473.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/0.473, allocations: 1.233 MB / 475 MB, free: 12.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.4732, allocations: 305.1 kB / 475.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002969/0.4761, allocations: 2.135 MB / 477.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005703/0.4818, allocations: 5.956 MB / 483.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009287/0.4912, allocations: 8.774 MB / 492.2 MB, free: 7.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.228e-05/0.4912, allocations: 40 kB / 492.2 MB, free: 7.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01408/0.5053, allocations: 8.569 MB / 0.4891 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.842e-05/0.5054, allocations: 64 kB / 0.4891 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.5056, allocations: 136 kB / 0.4893 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/0.5079, allocations: 0.923 MB / 0.4902 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/0.512, allocations: 1.4 MB / 0.4915 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006381/0.5184, allocations: 5.201 MB / 0.4966 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003801/0.5222, allocations: 327.6 kB / 0.4969 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004589/0.5227, allocations: 388 kB / 0.4973 GB, free: 6.625 MB / 398.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 (740): * Single equations (assignments): 736 * 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.002708/0.5254, allocations: 2.103 MB / 0.4993 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/0.5259, allocations: 347.5 kB / 0.4997 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005708/0.5316, allocations: 3.132 MB / 0.5027 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/0.5316, allocations: 20 kB / 0.5027 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.5317, allocations: 7.938 kB / 0.5028 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.5317, allocations: 11.97 kB / 0.5028 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.5453, allocations: 7.816 MB / 0.5104 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.5453, allocations: 0 / 0.5104 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.5466, allocations: 263.7 kB / 0.5107 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/0.5487, allocations: 0.7147 MB / 0.5113 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.5489, allocations: 35.97 kB / 0.5114 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005961/0.5548, allocations: 4.745 MB / 0.516 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5549, allocations: 4.062 kB / 0.516 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008301/0.5632, allocations: 5.681 MB / 0.5216 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/0.5649, allocations: 0.6291 MB / 0.5222 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003579/0.5653, allocations: 24 kB / 0.5222 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.5665, allocations: 84.17 kB / 0.5223 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.5668, allocations: 104.8 kB / 0.5224 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.567, allocations: 63.89 kB / 0.5224 GB, free: 12.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00367/0.5707, allocations: 2.61 MB / 0.525 GB, free: 9.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5707, allocations: 0 / 0.525 GB, free: 9.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004442/0.5751, allocations: 0.9596 MB / 0.5259 GB, free: 8.961 MB / 430.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.0003786/0.5755, allocations: 156.4 kB / 0.5261 GB, free: 8.801 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007165/0.5827, allocations: 5.098 MB / 0.5311 GB, free: 3.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5827, allocations: 0 / 0.5311 GB, free: 3.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002025/0.5847, allocations: 1.541 MB / 0.5326 GB, free: 2.176 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/0.5869, allocations: 438 kB / 0.533 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1661/0.753, allocations: 8.983 MB / 0.5418 GB, free: 143.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004186/0.7573, allocations: 3.235 MB / 0.5449 GB, free: 142.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004386/0.7617, allocations: 1.932 MB / 0.5468 GB, free: 142.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007618/0.7624, allocations: 271.3 kB / 0.5471 GB, free: 142.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7625, allocations: 1.375 kB / 0.5471 GB, free: 142.4 MB / 430.1 MB Notification: Performance of Templates: time 0.05431/0.8168, allocations: 31.77 MB / 0.5781 GB, free: 120.2 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) 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) Reference file matches