Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 179.3 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.4 MB / 222.5 MB, free: 9.102 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007739/0.0007741, allocations: 100.5 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002847, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 47.58 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.02877/0.2246, allocations: 45.5 MB / 420.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02295/0.2476, allocations: 9.803 MB / 429.9 MB, free: 9.395 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008026/0.2557, allocations: 207.5 kB / 430.1 MB, free: 9.191 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006632/0.2624, allocations: 2.337 MB / 432.4 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01795/0.2803, allocations: 6.981 MB / 439.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.283, allocations: 0.5032 MB / 439.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005891/0.2889, allocations: 4.382 MB / 444.3 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006201/0.2952, allocations: 4.32 MB / 448.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.2973, allocations: 1.218 MB / 449.8 MB, free: 5.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/0.2997, allocations: 1.947 MB / 451.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000395/0.3001, allocations: 140 kB / 451.9 MB, free: 3.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.3016, allocations: 0.784 MB / 452.7 MB, free: 2.465 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.3029, allocations: 1.675 MB / 454.4 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007401/0.3036, allocations: 0.8311 MB / 455.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004863/0.3085, allocations: 5.51 MB / 460.7 MB, free: 10.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3085, allocations: 11.88 kB / 460.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3085, allocations: 0 / 460.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001318/0.3087, allocations: 0 / 460.7 MB, free: 10.41 MB / 346.7 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.01517/0.3239, allocations: 4.425 MB / 465.1 MB, free: 5.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3239, allocations: 8.031 kB / 465.1 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006635/0.3306, allocations: 1.94 MB / 467.1 MB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004647/0.3352, allocations: 2.291 MB / 469.4 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.3354, allocations: 242 kB / 469.6 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006544/0.3361, allocations: 315.8 kB / 469.9 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.3554, allocations: 10.71 MB / 480.6 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.3556, allocations: 43.59 kB / 480.7 MB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004442/0.356, allocations: 159.8 kB / 480.8 MB, free: 5.465 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003357/0.3594, allocations: 1.986 MB / 482.8 MB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/0.3785, allocations: 9.543 MB / 492.4 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2094/0.588, allocations: 39.86 MB / 0.5197 GB, free: 80.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.6, allocations: 3.841 MB / 0.5235 GB, free: 78.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.6019, allocations: 1.856 MB / 0.5253 GB, free: 77.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004775/0.6024, allocations: 367.2 kB / 0.5257 GB, free: 77.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.6024, allocations: 43.19 kB / 0.5257 GB, free: 76.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 3.958e-06/0.6024, allocations: 3.391 kB / 0.5257 GB, free: 76.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.03781/0.6402, allocations: 13.75 MB / 0.5391 GB, free: 67.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.6403, allocations: 149.5 kB / 0.5393 GB, free: 66.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/0.6443, allocations: 4.151 MB / 0.5433 GB, free: 62.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.6446, allocations: 45.7 kB / 0.5434 GB, free: 62.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.6458, allocations: 3.164 MB / 0.5465 GB, free: 59.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004367/0.6462, allocations: 0.6148 MB / 0.5471 GB, free: 58.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.6464, allocations: 116 kB / 0.5472 GB, free: 58.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.6466, allocations: 0.5581 MB / 0.5477 GB, free: 58.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/0.6491, allocations: 2.12 MB / 0.5498 GB, free: 56.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/0.6526, allocations: 5.944 MB / 0.5556 GB, free: 48.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003833/0.6564, allocations: 3.459 MB / 0.559 GB, free: 44.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.841e-05/0.6565, allocations: 40 kB / 0.559 GB, free: 44.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01207/0.6686, allocations: 8.542 MB / 0.5673 GB, free: 36.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.6687, allocations: 64 kB / 0.5674 GB, free: 36.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/0.6688, allocations: 136 kB / 0.5675 GB, free: 36.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002154/0.671, allocations: 0.9256 MB / 0.5684 GB, free: 35.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004034/0.675, allocations: 1.407 MB / 0.5698 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005099/0.6801, allocations: 4.864 MB / 0.5746 GB, free: 28.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003893/0.6841, allocations: 327.6 kB / 0.5749 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005613/0.6846, allocations: 388.6 kB / 0.5752 GB, free: 28.03 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002605/0.6873, allocations: 2.108 MB / 0.5773 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004939/0.6878, allocations: 347.4 kB / 0.5776 GB, free: 25.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/0.6927, allocations: 3.144 MB / 0.5807 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.6927, allocations: 20.09 kB / 0.5807 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.6928, allocations: 4 kB / 0.5807 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.6928, allocations: 7.969 kB / 0.5807 GB, free: 22.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.7037, allocations: 7.837 MB / 0.5884 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.7038, allocations: 4 kB / 0.5884 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.705, allocations: 259.6 kB / 0.5886 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.7068, allocations: 0.7243 MB / 0.5894 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.707, allocations: 35.97 kB / 0.5894 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/0.7115, allocations: 4.41 MB / 0.5937 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7115, allocations: 4.031 kB / 0.5937 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007049/0.7186, allocations: 5.683 MB / 0.5992 GB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.7198, allocations: 0.6369 MB / 0.5999 GB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/0.7202, allocations: 28 kB / 0.5999 GB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.7214, allocations: 88.44 kB / 0.6 GB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.7217, allocations: 97.55 kB / 0.6001 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.7218, allocations: 52.59 kB / 0.6001 GB, free: 2.293 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003027/0.7248, allocations: 2.587 MB / 0.6026 GB, free: 15.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7248, allocations: 0 / 0.6026 GB, free: 15.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004021/0.7289, allocations: 0.9591 MB / 0.6036 GB, free: 14.74 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003637/0.7292, allocations: 167.5 kB / 0.6037 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00733/0.7366, allocations: 5.066 MB / 0.6087 GB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.7366, allocations: 0 / 0.6087 GB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002017/0.7386, allocations: 1.544 MB / 0.6102 GB, free: 7.969 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/0.741, allocations: 425.7 kB / 0.6106 GB, free: 7.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.7561, allocations: 11.13 MB / 0.6215 GB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/0.7592, allocations: 3.223 MB / 0.6246 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.7602, allocations: 319.3 kB / 0.6249 GB, free: 8.801 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.7602, allocations: 0 / 0.6249 GB, free: 8.801 MB / 410.7 MB Notification: Performance of Templates: time 0.2381/0.9983, allocations: 75.31 MB / 0.6985 GB, free: 103 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches