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.001527/0.001527, allocations: 181.6 kB / 17.41 MB, free: 4.41 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.42/1.42, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007543/0.0007543, allocations: 94.41 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003044, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2082, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1141/0.3223, allocations: 98.48 MB / 474.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.3227, allocations: 91.95 kB / 474.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3755/0.6982, allocations: 83.78 MB / 0.545 GB, free: 71.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6982, allocations: 0 / 0.545 GB, free: 71.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002496/0.6985, allocations: 84 kB / 0.5451 GB, free: 71.76 MB / 378.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.01599/0.7145, allocations: 4.605 MB / 0.5496 GB, free: 67.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.7145, allocations: 8.031 kB / 0.5496 GB, free: 67.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009378/0.7239, allocations: 2.187 MB / 0.5517 GB, free: 64.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007415/0.7313, allocations: 3.428 MB / 0.5551 GB, free: 61.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.7317, allocations: 321.5 kB / 0.5554 GB, free: 61.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/0.7337, allocations: 423.8 kB / 0.5558 GB, free: 60.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/0.7559, allocations: 10.78 MB / 0.5663 GB, free: 48.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002594/0.7562, allocations: 59.41 kB / 0.5663 GB, free: 48.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001717/0.7579, allocations: 207.9 kB / 0.5665 GB, free: 48.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001428/0.7594, allocations: 1.002 MB / 0.5675 GB, free: 47.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01718/0.7766, allocations: 8.953 MB / 0.5763 GB, free: 38.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04876/0.8254, allocations: 48.96 MB / 0.6241 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009778/0.8352, allocations: 3.52 MB / 0.6275 GB, free: 392 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002694/0.8379, allocations: 1.823 MB / 0.6293 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008078/0.8461, allocations: 4.343 MB / 0.6335 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.8461, allocations: 51.5 kB / 0.6336 GB, free: 9.996 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 4.197e-06/0.8462, allocations: 3.938 kB / 0.6336 GB, free: 9.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.2381/1.084, allocations: 11.99 MB / 0.6453 GB, free: 99.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/1.084, allocations: 148.4 kB / 0.6454 GB, free: 99.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005941/1.09, allocations: 4.169 MB / 0.6495 GB, free: 99.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003122/1.091, allocations: 55.2 kB / 0.6496 GB, free: 99.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/1.092, allocations: 3.193 MB / 0.6527 GB, free: 98.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006848/1.093, allocations: 0.5833 MB / 0.6533 GB, free: 97.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/1.093, allocations: 119.8 kB / 0.6534 GB, free: 97.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003882/1.094, allocations: 0.5539 MB / 0.6539 GB, free: 97.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/1.097, allocations: 1.984 MB / 0.6558 GB, free: 97.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005398/1.102, allocations: 5.81 MB / 0.6615 GB, free: 92.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008832/1.111, allocations: 8.486 MB / 0.6698 GB, free: 87.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002062/1.111, allocations: 43.41 kB / 0.6698 GB, free: 87.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01461/1.126, allocations: 8.215 MB / 0.6779 GB, free: 84.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001912/1.126, allocations: 67.59 kB / 0.6779 GB, free: 84.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002374/1.126, allocations: 136.9 kB / 0.6781 GB, free: 84.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002293/1.129, allocations: 0.8997 MB / 0.6789 GB, free: 84.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004481/1.133, allocations: 1.387 MB / 0.6803 GB, free: 84.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005235/1.139, allocations: 4.788 MB / 0.685 GB, free: 81.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005206/1.144, allocations: 325 kB / 0.6853 GB, free: 81.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.145, allocations: 375.5 kB / 0.6856 GB, free: 81.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * 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 (732): * Single equations (assignments): 728 * 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.005141/1.15, allocations: 2.109 MB / 0.6877 GB, free: 80.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009088/1.151, allocations: 345.7 kB / 0.688 GB, free: 80.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005352/1.157, allocations: 2.878 MB / 0.6908 GB, free: 79.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/1.157, allocations: 16.78 kB / 0.6909 GB, free: 79.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.157, allocations: 3.625 kB / 0.6909 GB, free: 79.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/1.157, allocations: 11.39 kB / 0.6909 GB, free: 79.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/1.17, allocations: 7.016 MB / 0.6977 GB, free: 76.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.171, allocations: 3.281 kB / 0.6977 GB, free: 76.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/1.172, allocations: 249 kB / 0.698 GB, free: 76.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/1.174, allocations: 0.6975 MB / 0.6986 GB, free: 76.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/1.174, allocations: 34.61 kB / 0.6987 GB, free: 76.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004548/1.178, allocations: 4.345 MB / 0.7029 GB, free: 73.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.178, allocations: 0 / 0.7029 GB, free: 73.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006781/1.185, allocations: 5.107 MB / 0.7079 GB, free: 69.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/1.187, allocations: 0.6231 MB / 0.7085 GB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004727/1.187, allocations: 20 kB / 0.7085 GB, free: 68.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.189, allocations: 84.64 kB / 0.7086 GB, free: 68.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/1.189, allocations: 84.31 kB / 0.7087 GB, free: 68.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/1.189, allocations: 44.95 kB / 0.7087 GB, free: 68.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003989/1.193, allocations: 2.604 MB / 0.7113 GB, free: 66.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.193, allocations: 0 / 0.7113 GB, free: 66.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005664/1.199, allocations: 0.9635 MB / 0.7122 GB, free: 65.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (114): * Single equations (assignments): 110 * 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.0004442/1.199, allocations: 159.9 kB / 0.7124 GB, free: 65.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007188/1.206, allocations: 4.771 MB / 0.717 GB, free: 60.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/1.206, allocations: 0 / 0.717 GB, free: 60.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/1.208, allocations: 1.365 MB / 0.7184 GB, free: 59.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/1.211, allocations: 418.3 kB / 0.7188 GB, free: 59.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/1.227, allocations: 10.93 MB / 0.7294 GB, free: 49.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003289/1.231, allocations: 3.237 MB / 0.7326 GB, free: 46.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.232, allocations: 285.7 kB / 0.7329 GB, free: 46.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/1.232, allocations: 4 kB / 0.7329 GB, free: 46.54 MB / 410.7 MB Notification: Performance of Templates: time 0.3004/1.532, allocations: 74.2 MB / 0.8053 GB, free: 117.8 MB / 442.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/jenkins1/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