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.001101/0.001101, allocations: 107.3 kB / 18.4 MB, free: 4.68 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.001138/0.001138, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.267/1.267, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001167/0.001168, allocations: 47.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06811/0.06928, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.1527/0.222, allocations: 11.75 MB / 387.6 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006514/0.2285, allocations: 3.914 MB / 391.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.2301, allocations: 62.78 kB / 391.5 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004608/0.2347, allocations: 2.719 MB / 394.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003918/0.2387, allocations: 1.879 MB / 396.1 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.2398, allocations: 0.5748 MB / 396.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003854/0.2437, allocations: 3.751 MB / 400.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003615/0.2473, allocations: 3.689 MB / 404.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.2494, allocations: 1.533 MB / 405.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.2519, allocations: 2.127 MB / 407.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005495/0.2525, allocations: 340 kB / 408.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.2544, allocations: 1.063 MB / 409.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.2559, allocations: 1.934 MB / 411.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.2579, allocations: 2.241 MB / 413.4 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006064/0.2639, allocations: 7.184 MB / 420.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2639, allocations: 0 / 420.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.264, allocations: 4 kB / 420.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5e-05/0.264, allocations: 0 / 420.6 MB, free: 2.828 MB / 334.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.01498/0.279, allocations: 5.299 MB / 425.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2791, allocations: 15.97 kB / 425.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006771/0.2858, allocations: 1.886 MB / 427.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.2895, allocations: 2.381 MB / 430.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.2897, allocations: 238 kB / 430.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005592/0.2902, allocations: 319.8 kB / 430.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.3062, allocations: 10.71 MB / 441.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-05/0.3063, allocations: 51.53 kB / 441.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004122/0.3067, allocations: 147.9 kB / 441.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003355/0.3101, allocations: 1.978 MB / 443.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/0.3267, allocations: 9.574 MB / 453.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04105/0.3678, allocations: 39.77 MB / 492.9 MB, free: 8.477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01357/0.3814, allocations: 3.833 MB / 496.8 MB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002304/0.3837, allocations: 1.845 MB / 498.6 MB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005848/0.3843, allocations: 368 kB / 499 MB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3844, allocations: 47.56 kB / 499 MB, free: 2.172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.867e-06/0.3844, allocations: 0 / 499 MB, free: 2.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.04275/0.4271, allocations: 13.77 MB / 0.5008 GB, free: 4.285 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.4272, allocations: 141.5 kB / 0.5009 GB, free: 4.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005076/0.4323, allocations: 4.167 MB / 0.505 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.4325, allocations: 49.64 kB / 0.505 GB, free: 15.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002003/0.4345, allocations: 3.168 MB / 0.5081 GB, free: 12.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005109/0.435, allocations: 0.6135 MB / 0.5087 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/0.4365, allocations: 1.225 MB / 0.5099 GB, free: 10.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.4366, allocations: 309.1 kB / 0.5102 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00312/0.4397, allocations: 2.131 MB / 0.5123 GB, free: 8.355 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005343/0.445, allocations: 5.964 MB / 0.5181 GB, free: 484 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009096/0.4542, allocations: 8.768 MB / 0.5267 GB, free: 5.789 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.934e-05/0.4542, allocations: 40 kB / 0.5267 GB, free: 5.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01328/0.4675, allocations: 8.584 MB / 0.5351 GB, free: 13.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.833e-05/0.4676, allocations: 64 kB / 0.5351 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.4677, allocations: 136 kB / 0.5353 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/0.4702, allocations: 0.9112 MB / 0.5362 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/0.4742, allocations: 1.396 MB / 0.5375 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00657/0.4808, allocations: 5.209 MB / 0.5426 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/0.4844, allocations: 327.6 kB / 0.5429 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004437/0.4848, allocations: 388 kB / 0.5433 GB, free: 4.598 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 (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.002685/0.4875, allocations: 2.107 MB / 0.5454 GB, free: 2.477 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004771/0.488, allocations: 347.5 kB / 0.5457 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1582/0.6462, allocations: 3.135 MB / 0.5488 GB, free: 145.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.169e-05/0.6462, allocations: 11.55 kB / 0.5488 GB, free: 145.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.6463, allocations: 1.656 kB / 0.5488 GB, free: 145.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/0.6476, allocations: 0.6213 MB / 0.5494 GB, free: 145.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006115/0.6483, allocations: 24.62 kB / 0.5494 GB, free: 145.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.6498, allocations: 93.19 kB / 0.5495 GB, free: 145.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/0.6501, allocations: 102.4 kB / 0.5496 GB, free: 145.9 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006527/0.6567, allocations: 3.594 MB / 0.5531 GB, free: 145.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005845/0.6625, allocations: 4.966 MB / 0.5579 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001571/0.6641, allocations: 1.263 MB / 0.5592 GB, free: 142.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00348/0.6676, allocations: 2.604 MB / 0.5617 GB, free: 141.9 MB / 478.1 MB Notification: Performance of Backend: time 5.31e-07/0.6676, allocations: 0 / 0.5617 GB, free: 141.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007122/0.6747, allocations: 4.182 MB / 0.5658 GB, free: 140.5 MB / 478.1 MB Notification: Performance of SimCode: time 0.01054/0.6853, allocations: 9.069 MB / 0.5747 GB, free: 136.4 MB / 478.1 MB Notification: Performance of Templates: time 0.06308/0.7484, allocations: 44.85 MB / 0.6185 GB, free: 100.1 MB / 478.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 -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