Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001934/0.001934, allocations: 189.9 kB / 23.72 MB, free: 4.684 MB / 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.38/1.38, allocations: 225.6 MB / 252.5 MB, free: 13.04 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 43.94 kB / 370.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2311, allocations: 52.19 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0133/0.2444, allocations: 11.2 MB / 433.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007426/0.2518, allocations: 3.856 MB / 437.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009898/0.2528, allocations: 71.69 kB / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004903/0.2577, allocations: 2.741 MB / 440.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004005/0.2617, allocations: 1.852 MB / 442.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.263, allocations: 0.5732 MB / 442.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004746/0.2677, allocations: 3.593 MB / 446.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0033/0.271, allocations: 2.755 MB / 449.3 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.273, allocations: 1.487 MB / 450.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/0.2759, allocations: 2.177 MB / 452.9 MB, free: 168 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005607/0.2764, allocations: 320 kB / 453.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.2783, allocations: 1.088 MB / 454.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001728/0.28, allocations: 1.885 MB / 456.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.2821, allocations: 2.132 MB / 458.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007728/0.2898, allocations: 6.848 MB / 465.2 MB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2898, allocations: 4 kB / 465.2 MB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2898, allocations: 0 / 465.2 MB, free: 3.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001625/0.29, allocations: 0 / 465.2 MB, free: 3.848 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01692/0.3069, allocations: 5.16 MB / 470.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3069, allocations: 12.02 kB / 470.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009486/0.3079, allocations: 0.6866 MB / 471.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006504/0.3144, allocations: 1.901 MB / 473 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005578/0.32, allocations: 2.52 MB / 475.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.3202, allocations: 229.8 kB / 475.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007007/0.3209, allocations: 295.8 kB / 476 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01837/0.3392, allocations: 10.21 MB / 486.2 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.3394, allocations: 43.64 kB / 486.2 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004271/0.3398, allocations: 143.9 kB / 486.4 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003296/0.3431, allocations: 1.864 MB / 488.3 MB, free: 12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.3614, allocations: 9.135 MB / 497.4 MB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05288/0.4143, allocations: 38.08 MB / 0.5229 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/0.4272, allocations: 3.03 MB / 0.5259 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002479/0.4297, allocations: 1.59 MB / 0.5274 GB, free: 6.992 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005536/0.4302, allocations: 136.3 kB / 0.5276 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.4303, allocations: 47.27 kB / 0.5276 GB, free: 6.801 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.988e-06/0.4303, allocations: 0 / 0.5276 GB, free: 6.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2152/0.6455, allocations: 12.79 MB / 0.5401 GB, free: 105.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.6456, allocations: 146 kB / 0.5402 GB, free: 105.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004404/0.65, allocations: 4.079 MB / 0.5442 GB, free: 104.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.6501, allocations: 45.83 kB / 0.5443 GB, free: 104 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.6514, allocations: 3.174 MB / 0.5474 GB, free: 101.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.6517, allocations: 0.5706 MB / 0.5479 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009931/0.6527, allocations: 1.181 MB / 0.5491 GB, free: 100.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.344e-05/0.6528, allocations: 301.1 kB / 0.5494 GB, free: 100.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/0.6548, allocations: 1.962 MB / 0.5513 GB, free: 100 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/0.6579, allocations: 5.661 MB / 0.5568 GB, free: 94.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005695/0.6636, allocations: 8.271 MB / 0.5649 GB, free: 85.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-05/0.6637, allocations: 39.94 kB / 0.5649 GB, free: 85.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=737) (initialization): time 0.01019/0.6739, allocations: 8.083 MB / 0.5728 GB, free: 77.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.042e-05/0.6739, allocations: 64.94 kB / 0.5729 GB, free: 77.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.503e-05/0.674, allocations: 136 kB / 0.573 GB, free: 77.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/0.6759, allocations: 0.906 MB / 0.5739 GB, free: 76.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/0.6792, allocations: 1.318 MB / 0.5752 GB, free: 75.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004877/0.6841, allocations: 5.084 MB / 0.5801 GB, free: 69.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/0.6879, allocations: 311.7 kB / 0.5804 GB, free: 69.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000437/0.6883, allocations: 375.6 kB / 0.5808 GB, free: 69.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (698): * Single equations (assignments): 694 * 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.002193/0.6905, allocations: 2.003 MB / 0.5827 GB, free: 67.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004866/0.691, allocations: 353.6 kB / 0.5831 GB, free: 66.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004099/0.6951, allocations: 2.765 MB / 0.5858 GB, free: 64.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.6951, allocations: 13.97 kB / 0.5858 GB, free: 64.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.6951, allocations: 4 kB / 0.5858 GB, free: 64.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.6952, allocations: 11.97 kB / 0.5858 GB, free: 64.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009755/0.7049, allocations: 7.07 MB / 0.5927 GB, free: 57.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.7049, allocations: 3.938 kB / 0.5927 GB, free: 57.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009584/0.7059, allocations: 215.6 kB / 0.5929 GB, free: 56.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.7076, allocations: 0.7194 MB / 0.5936 GB, free: 56.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.947e-05/0.7077, allocations: 31.97 kB / 0.5937 GB, free: 56.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004469/0.7122, allocations: 4.646 MB / 0.5982 GB, free: 51.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.7122, allocations: 4.031 kB / 0.5982 GB, free: 51.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006134/0.7184, allocations: 5.098 MB / 0.6032 GB, free: 46.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.7194, allocations: 337.5 kB / 0.6035 GB, free: 45.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003514/0.7198, allocations: 20 kB / 0.6035 GB, free: 45.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.7209, allocations: 72.47 kB / 0.6036 GB, free: 45.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/0.7212, allocations: 92.42 kB / 0.6037 GB, free: 45.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.7213, allocations: 47.97 kB / 0.6037 GB, free: 45.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002997/0.7243, allocations: 2.546 MB / 0.6062 GB, free: 43.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7243, allocations: 0 / 0.6062 GB, free: 43.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004124/0.7284, allocations: 0.9096 MB / 0.6071 GB, free: 42.16 MB / 446.1 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 (101): * Single equations (assignments): 97 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006146/0.7346, allocations: 5.745 MB / 0.6127 GB, free: 36.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005491/0.7401, allocations: 4.518 MB / 0.6171 GB, free: 31.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7401, allocations: 0 / 0.6171 GB, free: 31.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.7414, allocations: 1.283 MB / 0.6184 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/0.7436, allocations: 435.2 kB / 0.6188 GB, free: 30.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05182/0.7954, allocations: 43.84 MB / 0.6616 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004042/0.7994, allocations: 3.104 MB / 0.6646 GB, free: 9.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004066/0.8035, allocations: 1.846 MB / 0.6664 GB, free: 7.645 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002493/0.806, allocations: 1.792 MB / 0.6682 GB, free: 5.852 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.806, allocations: 0 / 0.6682 GB, free: 5.852 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3241/1.13, allocations: 69.58 MB / 0.7361 GB, free: 183.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23/24.13, allocations: 10.8 kB / 0.7361 GB, free: 183.8 MB / 0.5294 GB " [Timeout remaining time 636] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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: 27.049641255987808]