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/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_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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001252/0.001253, allocations: 176.1 kB / 8.478 MB, free: 1.891 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.2 MB / 214.1 MB, free: 5.453 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009624/0.0009623, allocations: 91.31 kB / 262.1 MB, free: 5.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.434e-06, allocations: 0 / 315 MB, free: 41.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09606/0.09609, allocations: 47.57 MB / 362.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3246/0.4208, allocations: 97.48 MB / 460 MB, free: 6.988 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.4211, allocations: 88.77 kB / 460.1 MB, free: 6.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.2181/0.6392, allocations: 82.07 MB / 0.5295 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002737/0.6395, allocations: 84 kB / 0.5295 GB, free: 0.5391 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.02177/0.6613, allocations: 4.418 MB / 0.5339 GB, free: 12.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.6614, allocations: 12.03 kB / 0.5339 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.6719, allocations: 1.815 MB / 0.5356 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.6848, allocations: 4.536 MB / 0.5401 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.6851, allocations: 140 kB / 0.5402 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/0.6872, allocations: 247.9 kB / 0.5404 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01336/0.7005, allocations: 6.541 MB / 0.5468 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02155/0.7221, allocations: 9.869 MB / 0.5565 GB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002154/0.7224, allocations: 63.41 kB / 0.5565 GB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001148/0.7235, allocations: 32 kB / 0.5566 GB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/0.7251, allocations: 1.064 MB / 0.5576 GB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2209/0.946, allocations: 47.69 MB / 0.6042 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004704/0.9508, allocations: 3.329 MB / 0.6074 GB, free: 111.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002472/0.9533, allocations: 1.908 MB / 0.6093 GB, free: 111.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009991/0.9634, allocations: 5.925 MB / 0.6151 GB, free: 109.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.9634, allocations: 47.62 kB / 0.6151 GB, free: 109.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 4.328e-06/0.9635, allocations: 2.953 kB / 0.6151 GB, free: 109.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.02115/0.9846, allocations: 11.25 MB / 0.6261 GB, free: 106.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.9847, allocations: 143.3 kB / 0.6262 GB, free: 106.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005216/0.9899, allocations: 3.203 MB / 0.6294 GB, free: 106.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000383/0.9903, allocations: 25.7 kB / 0.6294 GB, free: 106.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.992, allocations: 3.058 MB / 0.6324 GB, free: 104.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007094/0.9927, allocations: 0.572 MB / 0.6329 GB, free: 104.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.993, allocations: 0 / 0.6329 GB, free: 104.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002951/0.9933, allocations: 0.5642 MB / 0.6335 GB, free: 104 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/0.9958, allocations: 1.931 MB / 0.6354 GB, free: 103.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004315/1, allocations: 5.877 MB / 0.6411 GB, free: 98.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005316/1.005, allocations: 3.359 MB / 0.6444 GB, free: 97.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/1.006, allocations: 43.62 kB / 0.6444 GB, free: 97.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.0176/1.023, allocations: 7.438 MB / 0.6517 GB, free: 95.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/1.023, allocations: 7.844 kB / 0.6517 GB, free: 95.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003108/1.024, allocations: 144.1 kB / 0.6518 GB, free: 95.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/1.026, allocations: 0.871 MB / 0.6527 GB, free: 95.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/1.032, allocations: 1.43 MB / 0.6541 GB, free: 94.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00585/1.038, allocations: 4.497 MB / 0.6585 GB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005771/1.044, allocations: 192.8 kB / 0.6587 GB, free: 92.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001857/1.046, allocations: 397.9 kB / 0.659 GB, free: 92.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 652 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 759 * 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.002218/1.048, allocations: 464.9 kB / 0.6595 GB, free: 92.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009022/1.049, allocations: 313.6 kB / 0.6598 GB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005898/1.055, allocations: 2.694 MB / 0.6624 GB, free: 91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.694e-05/1.055, allocations: 15.22 kB / 0.6624 GB, free: 91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.055, allocations: 3.938 kB / 0.6624 GB, free: 91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/1.055, allocations: 10.42 kB / 0.6624 GB, free: 91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/1.07, allocations: 6.136 MB / 0.6684 GB, free: 88.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/1.071, allocations: 3.969 kB / 0.6684 GB, free: 88.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/1.072, allocations: 236.2 kB / 0.6687 GB, free: 88.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/1.074, allocations: 0.6375 MB / 0.6693 GB, free: 88.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002774/1.075, allocations: 11.42 kB / 0.6693 GB, free: 88.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005093/1.08, allocations: 4.114 MB / 0.6733 GB, free: 85.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.08, allocations: 0 / 0.6733 GB, free: 85.64 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008132/1.088, allocations: 5.07 MB / 0.6783 GB, free: 81.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/1.09, allocations: 0.5662 MB / 0.6788 GB, free: 80.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009863/1.091, allocations: 6.812 kB / 0.6788 GB, free: 80.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/1.093, allocations: 46.75 kB / 0.6789 GB, free: 80.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/1.093, allocations: 68.86 kB / 0.6789 GB, free: 80.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.093, allocations: 36 kB / 0.679 GB, free: 80.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004568/1.098, allocations: 2.144 MB / 0.6811 GB, free: 78.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007734/1.106, allocations: 0.8253 MB / 0.6819 GB, free: 77.89 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * 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.0005812/1.106, allocations: 143.5 kB / 0.682 GB, free: 77.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007869/1.114, allocations: 4.573 MB / 0.6865 GB, free: 73.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.114, allocations: 0 / 0.6865 GB, free: 73.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/1.116, allocations: 1.323 MB / 0.6878 GB, free: 72.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/1.118, allocations: 309.1 kB / 0.6881 GB, free: 72.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/1.139, allocations: 7.252 MB / 0.6951 GB, free: 65.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005653/1.145, allocations: 3.591 MB / 0.6987 GB, free: 62.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/1.145, allocations: 3.844 kB / 0.6987 GB, free: 62.88 MB / 426.7 MB Notification: Performance of Templates: time 0.07159/1.217, allocations: 32.99 MB / 0.7309 GB, free: 35.33 MB / 426.7 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 -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/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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches