Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 210.9 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2124/0.2124, allocations: 44.94 MB / 358.8 MB, free: 6.188 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 63.89 kB / 0.493 GB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3358, allocations: 65.47 MB / 0.557 GB, free: 7.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01548/0.3513, allocations: 11.72 MB / 0.5684 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009509/0.3608, allocations: 4.032 MB / 0.5724 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.3633, allocations: 79.69 kB / 0.5724 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004407/0.3677, allocations: 1.923 MB / 0.5743 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005329/0.373, allocations: 1.946 MB / 0.5762 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.3745, allocations: 0.5575 MB / 0.5768 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005391/0.3799, allocations: 4.045 MB / 0.5807 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002855/0.3828, allocations: 2.416 MB / 0.5831 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.3848, allocations: 1.472 MB / 0.5845 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003128/0.388, allocations: 2.102 MB / 0.5866 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007477/0.3887, allocations: 304 kB / 0.5868 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.3906, allocations: 0.9087 MB / 0.5877 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001769/0.3924, allocations: 1.901 MB / 0.5896 GB, free: 6.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.3942, allocations: 1.607 MB / 0.5912 GB, free: 4.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0086/0.4028, allocations: 7.364 MB / 0.5983 GB, free: 13.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4029, allocations: 0 / 0.5983 GB, free: 13.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4029, allocations: 0 / 0.5983 GB, free: 13.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002205/0.4031, allocations: 0 / 0.5983 GB, free: 13.02 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01097/0.414, allocations: 4.939 MB / 0.6032 GB, free: 8.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4141, allocations: 15.97 kB / 0.6032 GB, free: 8.008 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001485/0.4156, allocations: 0.8195 MB / 0.604 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.4264, allocations: 3.176 MB / 0.6071 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006821/0.4332, allocations: 2.355 MB / 0.6094 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/0.4335, allocations: 238.2 kB / 0.6096 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.4345, allocations: 311.7 kB / 0.6099 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.4546, allocations: 12.08 MB / 0.6217 GB, free: 4.441 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.4547, allocations: 35.7 kB / 0.6217 GB, free: 4.406 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004388/0.4551, allocations: 147.8 kB / 0.6219 GB, free: 4.262 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005001/0.4601, allocations: 2.839 MB / 0.6247 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02402/0.4841, allocations: 11.32 MB / 0.6357 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06577/0.5499, allocations: 39.06 MB / 0.6739 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.5614, allocations: 4.903 MB / 0.6786 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004152/0.5656, allocations: 2.763 MB / 0.6813 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/0.5669, allocations: 0.5641 MB / 0.6819 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.5669, allocations: 52.56 kB / 0.6819 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 5.04e-06/0.5669, allocations: 3.938 kB / 0.6819 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05053/0.6175, allocations: 20.04 MB / 0.7015 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/0.6175, allocations: 77.41 kB / 0.7016 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005429/0.623, allocations: 3.214 MB / 0.7047 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006005/0.6236, allocations: 65.64 kB / 0.7048 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003158/0.6267, allocations: 3.112 MB / 0.7078 GB, free: 11.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001781/0.6285, allocations: 1.07 MB / 0.7089 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001982/0.6305, allocations: 1.195 MB / 0.71 GB, free: 8.746 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6306, allocations: 305.1 kB / 0.7103 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004292/0.6349, allocations: 2.842 MB / 0.7131 GB, free: 5.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007278/0.6422, allocations: 6.018 MB / 0.719 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01423/0.6564, allocations: 9.661 MB / 0.7284 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001336/0.6566, allocations: 32 kB / 0.7285 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.2683/0.9248, allocations: 10.03 MB / 0.7382 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/0.9249, allocations: 54.72 kB / 0.7383 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/0.925, allocations: 113.3 kB / 0.7384 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/0.928, allocations: 1.362 MB / 0.7397 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004123/0.9321, allocations: 1.365 MB / 0.7411 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007751/0.9399, allocations: 7.635 MB / 0.7485 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003758/0.9436, allocations: 363 kB / 0.7489 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000665/0.9443, allocations: 345.4 kB / 0.7492 GB, free: 148.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (718): * Single equations (assignments): 711 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003361/0.9477, allocations: 2.296 MB / 0.7514 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/0.9481, allocations: 318.9 kB / 0.7517 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008547/0.9567, allocations: 6.614 MB / 0.7582 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-05/0.9567, allocations: 51.92 kB / 0.7583 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.9567, allocations: 4 kB / 0.7583 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.9568, allocations: 15.95 kB / 0.7583 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.974, allocations: 13.34 MB / 0.7713 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.974, allocations: 8 kB / 0.7713 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.9758, allocations: 447.3 kB / 0.7717 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002759/0.9785, allocations: 1.218 MB / 0.7729 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/0.9787, allocations: 55.88 kB / 0.773 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006637/0.9853, allocations: 6.849 MB / 0.7797 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.9853, allocations: 15.94 kB / 0.7797 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/0.9963, allocations: 9.863 MB / 0.7893 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007359/0.997, allocations: 294.4 kB / 0.7896 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.9974, allocations: 52.86 kB / 0.7896 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.9988, allocations: 191.7 kB / 0.7898 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/0.9992, allocations: 172.9 kB / 0.79 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.9994, allocations: 71.98 kB / 0.7901 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001983/1.001, allocations: 1.874 MB / 0.7919 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.001, allocations: 1.594 kB / 0.7919 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003561/1.005, allocations: 1.108 MB / 0.793 GB, free: 105.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01112/1.016, allocations: 10.53 MB / 0.8033 GB, free: 94.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007685/1.024, allocations: 6.683 MB / 0.8098 GB, free: 88.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.589e-05/1.024, allocations: 0 / 0.8098 GB, free: 88.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002958/1.027, allocations: 2.655 MB / 0.8124 GB, free: 85.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/1.029, allocations: 419.3 kB / 0.8128 GB, free: 85.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05369/1.082, allocations: 49.09 MB / 0.8607 GB, free: 30.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003247/1.086, allocations: 3.046 MB / 0.8637 GB, free: 27.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003864/1.089, allocations: 2.2 MB / 0.8658 GB, free: 25.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002211/1.092, allocations: 2.069 MB / 0.8679 GB, free: 23.63 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/1.092, allocations: 0 / 0.8679 GB, free: 23.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/1.22, allocations: 70.78 MB / 0.937 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.04/17.26, allocations: 4.062 kB / 0.937 GB, free: 1.5 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_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_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.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: 20.473196015227586]