Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.93 MB / 360.8 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 83.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3011, allocations: 66.09 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01399/0.3151, allocations: 11.12 MB / 0.5716 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007821/0.3229, allocations: 3.867 MB / 0.5754 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.3241, allocations: 79.62 kB / 0.5755 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005309/0.3294, allocations: 2.726 MB / 0.5781 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.3338, allocations: 1.79 MB / 0.5799 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.3355, allocations: 0.7017 MB / 0.5805 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005189/0.3407, allocations: 3.593 MB / 0.5841 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003749/0.3445, allocations: 2.811 MB / 0.5868 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.3469, allocations: 1.487 MB / 0.5883 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/0.3503, allocations: 2.149 MB / 0.5904 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007112/0.351, allocations: 324 kB / 0.5907 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.3532, allocations: 1.081 MB / 0.5917 GB, free: 4.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002047/0.3552, allocations: 1.85 MB / 0.5935 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002969/0.3582, allocations: 2.093 MB / 0.5956 GB, free: 456 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008883/0.3671, allocations: 6.712 MB / 0.6021 GB, free: 9.707 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3671, allocations: 0 / 0.6021 GB, free: 9.707 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3671, allocations: 0 / 0.6021 GB, free: 9.707 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002533/0.3673, allocations: 0 / 0.6021 GB, free: 9.707 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01947/0.3868, allocations: 5.132 MB / 0.6071 GB, free: 4.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3868, allocations: 12.03 kB / 0.6071 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001457/0.3883, allocations: 0.6703 MB / 0.6078 GB, free: 3.828 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007226/0.3955, allocations: 1.89 MB / 0.6096 GB, free: 1.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005821/0.4013, allocations: 2.419 MB / 0.612 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.4016, allocations: 229.8 kB / 0.6122 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.4027, allocations: 303.8 kB / 0.6125 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02003/0.4227, allocations: 10.04 MB / 0.6223 GB, free: 4.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/0.4228, allocations: 47.64 kB / 0.6224 GB, free: 4.207 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005793/0.4234, allocations: 139.9 kB / 0.6225 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003606/0.427, allocations: 1.806 MB / 0.6243 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02026/0.4473, allocations: 9.026 MB / 0.6331 GB, free: 9.211 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05376/0.501, allocations: 37.01 MB / 0.6692 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/0.5146, allocations: 3.162 MB / 0.6723 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/0.5171, allocations: 1.598 MB / 0.6739 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008305/0.5179, allocations: 240.2 kB / 0.6741 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/0.518, allocations: 47.16 kB / 0.6741 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 3.857e-06/0.518, allocations: 0 / 0.6741 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.04341/0.5614, allocations: 12.96 MB / 0.6868 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.536e-05/0.5615, allocations: 137.2 kB / 0.6869 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006522/0.568, allocations: 3.98 MB / 0.6908 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003917/0.5684, allocations: 41.7 kB / 0.6909 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002833/0.5713, allocations: 3.089 MB / 0.6939 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008504/0.5721, allocations: 0.57 MB / 0.6944 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/0.5738, allocations: 1.139 MB / 0.6955 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5739, allocations: 309 kB / 0.6958 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003066/0.577, allocations: 1.927 MB / 0.6977 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006201/0.5832, allocations: 5.486 MB / 0.7031 GB, free: 14.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.5939, allocations: 8.042 MB / 0.7109 GB, free: 4.641 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.776e-05/0.594, allocations: 40 kB / 0.711 GB, free: 4.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=716) (initialization): time 0.0171/0.6111, allocations: 7.903 MB / 0.7187 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.084e-05/0.6112, allocations: 62.81 kB / 0.7187 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001495/0.6113, allocations: 128 kB / 0.7189 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002651/0.614, allocations: 0.9125 MB / 0.7198 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004258/0.6182, allocations: 1.275 MB / 0.721 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007488/0.6257, allocations: 5.082 MB / 0.726 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/0.6298, allocations: 299.8 kB / 0.7263 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008113/0.6306, allocations: 356 kB / 0.7266 GB, free: 4.477 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.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 (677): * Single equations (assignments): 673 * 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.003568/0.6342, allocations: 1.978 MB / 0.7285 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006877/0.6348, allocations: 345.7 kB / 0.7289 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2657/0.9005, allocations: 2.769 MB / 0.7316 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.817e-05/0.9005, allocations: 15.88 kB / 0.7316 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/0.9006, allocations: 9.109 kB / 0.7316 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.298e-05/0.9006, allocations: 5.672 kB / 0.7316 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.9156, allocations: 7.147 MB / 0.7386 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/0.9157, allocations: 3.875 kB / 0.7386 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.9169, allocations: 242.4 kB / 0.7388 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002205/0.9192, allocations: 0.7119 MB / 0.7395 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/0.9194, allocations: 37.84 kB / 0.7395 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005121/0.9245, allocations: 4.656 MB / 0.7441 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9245, allocations: 0 / 0.7441 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006985/0.9315, allocations: 5.138 MB / 0.7491 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009039/0.9324, allocations: 320.2 kB / 0.7494 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007129/0.9331, allocations: 29.39 kB / 0.7494 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/0.9346, allocations: 81.14 kB / 0.7495 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/0.935, allocations: 96.27 kB / 0.7496 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.9351, allocations: 48.22 kB / 0.7496 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00421/0.9393, allocations: 2.487 MB / 0.7521 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9393, allocations: 0 / 0.7521 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004985/0.9443, allocations: 0.8717 MB / 0.7529 GB, free: 143.7 MB / 0.5606 GB 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 (104): * Single equations (assignments): 100 * 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.007396/0.9517, allocations: 5.775 MB / 0.7586 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006003/0.9577, allocations: 4.44 MB / 0.7629 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.9577, allocations: 4 kB / 0.7629 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.9594, allocations: 1.281 MB / 0.7642 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/0.9625, allocations: 422.8 kB / 0.7646 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05158/1.014, allocations: 42.89 MB / 0.8064 GB, free: 83.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003594/1.018, allocations: 3.061 MB / 0.8094 GB, free: 80.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003885/1.022, allocations: 1.79 MB / 0.8112 GB, free: 78.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002364/1.024, allocations: 1.741 MB / 0.8129 GB, free: 77.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.483e-06/1.024, allocations: 0 / 0.8129 GB, free: 77.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/1.136, allocations: 69 MB / 0.8803 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.22/26.36, allocations: 8.047 kB / 0.8803 GB, free: 8.512 MB / 0.5606 GB " [Timeout remaining time 633] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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: 29.520235299998603]