Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.00143/0.00143, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001455/0.001455, allocations: 215.5 kB / 20.75 MB, free: 2.328 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.501/1.501, allocations: 230.4 MB / 254 MB, free: 15.05 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.2415/0.2415, allocations: 46.92 MB / 357 MB, free: 10.2 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.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 79.88 kB / 0.491 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1379, allocations: 66.05 MB / 0.5555 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01584/0.1537, allocations: 12.32 MB / 0.5675 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009565/0.1633, allocations: 3.956 MB / 0.5714 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.1655, allocations: 71.75 kB / 0.5714 GB, free: 5.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003381/0.1689, allocations: 1.343 MB / 0.5728 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004903/0.1738, allocations: 1.762 MB / 0.5745 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.1753, allocations: 491 kB / 0.5749 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005711/0.1811, allocations: 3.613 MB / 0.5785 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.1842, allocations: 1.767 MB / 0.5802 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.1867, allocations: 1.218 MB / 0.5814 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003366/0.19, allocations: 1.892 MB / 0.5832 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009421/0.191, allocations: 236 kB / 0.5835 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.1936, allocations: 0.9751 MB / 0.5844 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002369/0.1959, allocations: 1.604 MB / 0.586 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003455/0.1994, allocations: 1.878 MB / 0.5878 GB, free: 4.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2869/0.4863, allocations: 6.208 MB / 0.5939 GB, free: 12.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4863, allocations: 0 / 0.5939 GB, free: 12.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4863, allocations: 0.7188 kB / 0.5939 GB, free: 12.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002273/0.4866, allocations: 0 / 0.5939 GB, free: 12.04 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01126/0.4978, allocations: 4.253 MB / 0.598 GB, free: 10.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4979, allocations: 9.125 kB / 0.598 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001843/0.4997, allocations: 0.7069 MB / 0.5987 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.512, allocations: 3.109 MB / 0.6018 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00624/0.5183, allocations: 2.105 MB / 0.6038 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/0.5185, allocations: 191 kB / 0.604 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001671/0.5202, allocations: 250.3 kB / 0.6042 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02055/0.5408, allocations: 10.49 MB / 0.6145 GB, free: 7.113 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.5409, allocations: 22.38 kB / 0.6145 GB, free: 7.113 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009333/0.5418, allocations: 121.8 kB / 0.6146 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004615/0.5464, allocations: 2.553 MB / 0.6171 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.5653, allocations: 9.921 MB / 0.6268 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06084/0.6261, allocations: 34.33 MB / 0.6603 GB, free: 1.508 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/0.6366, allocations: 4.971 MB / 0.6652 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003782/0.6404, allocations: 2.119 MB / 0.6673 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001995/0.6424, allocations: 1.881 MB / 0.6691 GB, free: 8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/0.6425, allocations: 52.56 kB / 0.6691 GB, free: 7.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 6.552e-06/0.6425, allocations: 0 / 0.6691 GB, free: 7.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.03857/0.681, allocations: 14.04 MB / 0.6829 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.6811, allocations: 77.34 kB / 0.6829 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/0.6853, allocations: 2.643 MB / 0.6855 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004136/0.6857, allocations: 53.7 kB / 0.6856 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002205/0.6879, allocations: 2.739 MB / 0.6882 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001226/0.6891, allocations: 0.892 MB / 0.6891 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001654/0.6908, allocations: 1.039 MB / 0.6901 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6909, allocations: 301.1 kB / 0.6904 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003534/0.6944, allocations: 2.2 MB / 0.6926 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006312/0.7008, allocations: 5.063 MB / 0.6975 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/0.7121, allocations: 7.958 MB / 0.7053 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.979e-05/0.7122, allocations: 28 kB / 0.7053 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01777/0.7299, allocations: 7.873 MB / 0.713 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.73, allocations: 48.19 kB / 0.713 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001476/0.7302, allocations: 104 kB / 0.7131 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/0.7328, allocations: 0.7913 MB / 0.7139 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004325/0.7371, allocations: 1.182 MB / 0.7151 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007008/0.7441, allocations: 4.526 MB / 0.7195 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/0.7478, allocations: 295.7 kB / 0.7198 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/0.7488, allocations: 299.3 kB / 0.7201 GB, free: 1.75 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 624 * Array equations: 6 * 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 prepare postOptimizeDAE: time 0.004585/0.7534, allocations: 2.005 MB / 0.722 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008672/0.7543, allocations: 279.8 kB / 0.7223 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.7651, allocations: 4.724 MB / 0.7269 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.522e-05/0.7652, allocations: 39.98 kB / 0.7269 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/0.7652, allocations: 4 kB / 0.7269 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.321e-05/0.7653, allocations: 11.91 kB / 0.7269 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/0.7885, allocations: 10.49 MB / 0.7372 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.291e-05/0.7885, allocations: 12.16 kB / 0.7372 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/0.7904, allocations: 364.3 kB / 0.7375 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/0.7927, allocations: 0.6521 MB / 0.7382 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004142/0.7931, allocations: 47.94 kB / 0.7382 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005866/0.799, allocations: 3.896 MB / 0.742 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.487e-05/0.799, allocations: 17.8 kB / 0.742 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.8118, allocations: 7.147 MB / 0.749 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000759/0.8126, allocations: 331.1 kB / 0.7493 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006938/0.8133, allocations: 42.27 kB / 0.7494 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/0.8149, allocations: 151.8 kB / 0.7495 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000481/0.8154, allocations: 127.6 kB / 0.7496 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/0.8156, allocations: 64.3 kB / 0.7497 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003147/0.8188, allocations: 1.623 MB / 0.7513 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8188, allocations: 0 / 0.7513 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004522/0.8233, allocations: 0.9084 MB / 0.7522 GB, free: 436 kB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01331/0.8366, allocations: 7.792 MB / 0.7598 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009617/0.8462, allocations: 5.149 MB / 0.7648 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/0.8462, allocations: 0 / 0.7648 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003625/0.8499, allocations: 1.872 MB / 0.7666 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/0.8533, allocations: 364.2 kB / 0.767 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0986/0.9519, allocations: 39.66 MB / 0.8057 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009676/0.9616, allocations: 3.163 MB / 0.8088 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00858/0.9702, allocations: 1.957 MB / 0.8107 GB, free: 52 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005641/0.9758, allocations: 1.709 MB / 0.8124 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of SimCode: time 1.633e-06/0.9758, allocations: 0 / 0.8124 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.394/1.37, allocations: 54.81 MB / 0.8659 GB, free: 236.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.14/23.51, allocations: 12.56 kB / 0.8659 GB, free: 236.9 MB / 0.6544 GB " [Timeout remaining time 636] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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: 26.72938895097468]