Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00283/0.00283, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 55.91 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2531, allocations: 52.13 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01507/0.2682, allocations: 13.2 MB / 434.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008481/0.2767, allocations: 4.312 MB / 438.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.278, allocations: 75.81 kB / 438.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007164/0.2851, allocations: 3.796 MB / 442.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00572/0.2908, allocations: 2.074 MB / 444.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.2926, allocations: 0.6941 MB / 445 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005998/0.2986, allocations: 4.224 MB / 449.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005048/0.3036, allocations: 3.41 MB / 452.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.3068, allocations: 1.854 MB / 454.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004145/0.3109, allocations: 2.656 MB / 457.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.3121, allocations: 412 kB / 457.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.3147, allocations: 1.178 MB / 458.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002571/0.3173, allocations: 2.298 MB / 461 MB, free: 6.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003209/0.3205, allocations: 2.629 MB / 463.7 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.3311, allocations: 8.256 MB / 471.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.3311, allocations: 0 / 471.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.3311, allocations: 0 / 471.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004399/0.3315, allocations: 7.938 kB / 471.9 MB, free: 11.83 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02266/0.3542, allocations: 6.363 MB / 478.3 MB, free: 5.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3542, allocations: 8.031 kB / 478.3 MB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007379/0.3616, allocations: 1.983 MB / 480.3 MB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005869/0.3675, allocations: 2.719 MB / 483 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.3678, allocations: 299.5 kB / 483.3 MB, free: 332 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/0.369, allocations: 387.8 kB / 483.7 MB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/0.3931, allocations: 12.37 MB / 496 MB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.3933, allocations: 47.58 kB / 496.1 MB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000724/0.394, allocations: 183.8 kB / 496.3 MB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004725/0.3987, allocations: 2.264 MB / 498.5 MB, free: 344 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02458/0.4233, allocations: 11.29 MB / 0.4979 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2725/0.6958, allocations: 46.89 MB / 0.5437 GB, free: 78.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01506/0.7108, allocations: 5.176 MB / 0.5487 GB, free: 77.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002946/0.7138, allocations: 3.05 MB / 0.5517 GB, free: 76.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004845/0.7143, allocations: 372.1 kB / 0.552 GB, free: 76.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.7143, allocations: 61.06 kB / 0.5521 GB, free: 76.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 4.459e-06/0.7143, allocations: 0 / 0.5521 GB, free: 76.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06079/0.7751, allocations: 27.07 MB / 0.5785 GB, free: 57.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.7751, allocations: 154.4 kB / 0.5787 GB, free: 57.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004203/0.7793, allocations: 4.513 MB / 0.5831 GB, free: 52.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002243/0.7796, allocations: 61.7 kB / 0.5831 GB, free: 52.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.7808, allocations: 3.603 MB / 0.5867 GB, free: 49.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005305/0.7813, allocations: 0.9172 MB / 0.5876 GB, free: 48.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/0.7828, allocations: 1.456 MB / 0.589 GB, free: 46.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.715e-05/0.7828, allocations: 313 kB / 0.5893 GB, free: 46.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003354/0.7862, allocations: 3.285 MB / 0.5925 GB, free: 43.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004477/0.7907, allocations: 7.243 MB / 0.5996 GB, free: 34.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00921/0.7999, allocations: 11.34 MB / 0.6106 GB, free: 21.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.889e-05/0.7999, allocations: 40 kB / 0.6107 GB, free: 21.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01487/0.8148, allocations: 11.44 MB / 0.6218 GB, free: 9.594 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.8149, allocations: 68.03 kB / 0.6219 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.773e-05/0.815, allocations: 140 kB / 0.622 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.8174, allocations: 1.13 MB / 0.6231 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005076/0.8224, allocations: 1.728 MB / 0.6248 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/0.8286, allocations: 6.346 MB / 0.631 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005029/0.8336, allocations: 407.8 kB / 0.6314 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007595/0.8344, allocations: 455.8 kB / 0.6319 GB, free: 15.21 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (837): * Single equations (assignments): 833 * 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.003683/0.838, allocations: 2.354 MB / 0.6342 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008437/0.8389, allocations: 421.5 kB / 0.6346 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/0.8495, allocations: 6.108 MB / 0.6405 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-05/0.8496, allocations: 32 kB / 0.6406 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.8496, allocations: 4 kB / 0.6406 GB, free: 6.266 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/0.8496, allocations: 11.91 kB / 0.6406 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02143/0.8711, allocations: 12.79 MB / 0.6531 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/0.8711, allocations: 0 / 0.6531 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00287/0.8739, allocations: 0.5381 MB / 0.6536 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/0.8766, allocations: 0.9452 MB / 0.6545 GB, free: 7.895 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003286/0.8769, allocations: 87.89 kB / 0.6546 GB, free: 7.809 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008399/0.8853, allocations: 6.077 MB / 0.6605 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.8853, allocations: 4 kB / 0.6605 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/0.9015, allocations: 10.37 MB / 0.6707 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002298/0.9038, allocations: 0.9003 MB / 0.6715 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005521/0.9044, allocations: 40.73 kB / 0.6716 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/0.9064, allocations: 163.7 kB / 0.6717 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005681/0.907, allocations: 185.5 kB / 0.6719 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002712/0.9072, allocations: 107.9 kB / 0.672 GB, free: 5.754 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005638/0.9129, allocations: 2.83 MB / 0.6748 GB, free: 2.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9129, allocations: 0 / 0.6748 GB, free: 2.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00648/0.9194, allocations: 1.21 MB / 0.676 GB, free: 1.715 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.0005212/0.9199, allocations: 188.9 kB / 0.6761 GB, free: 1.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01269/0.9326, allocations: 7.488 MB / 0.6834 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.9326, allocations: 0 / 0.6834 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004732/0.9373, allocations: 2.793 MB / 0.6862 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/0.9406, allocations: 0.5077 MB / 0.6867 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/0.9623, allocations: 12.15 MB / 0.6985 GB, free: 10.53 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004484/0.9668, allocations: 3.669 MB / 0.7021 GB, free: 6.832 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005549/0.9723, allocations: 2.289 MB / 0.7044 GB, free: 4.535 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/0.9738, allocations: 423.1 kB / 0.7048 GB, free: 4.121 MB / 0.5138 GB Notification: Performance of SimCode: time 1.403e-06/0.9738, allocations: 0 / 0.7048 GB, free: 4.121 MB / 0.5138 GB Notification: Performance of Templates: time 0.2826/1.256, allocations: 55.15 MB / 0.7586 GB, free: 195.8 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.061629729345441]