Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001801/0.001801, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.00202/0.00202, allocations: 215.6 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 207.7 MB / 233.8 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2151/0.2151, allocations: 44.26 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002366/0.002366, allocations: 71.89 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1113, allocations: 61.05 MB / 0.5162 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01629/0.1276, allocations: 12.36 MB / 0.5282 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009309/0.1369, allocations: 4.105 MB / 0.5322 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.1392, allocations: 83.69 kB / 0.5323 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004545/0.1438, allocations: 1.935 MB / 0.5342 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005397/0.1492, allocations: 1.992 MB / 0.5362 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.1507, allocations: 0.5654 MB / 0.5367 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2383/0.389, allocations: 4.051 MB / 0.5407 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003392/0.3924, allocations: 2.442 MB / 0.5431 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.3952, allocations: 1.498 MB / 0.5445 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003695/0.3989, allocations: 2.117 MB / 0.5466 GB, free: 10 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009589/0.3999, allocations: 307.7 kB / 0.5469 GB, free: 10 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.4021, allocations: 0.9192 MB / 0.5478 GB, free: 10 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.4044, allocations: 1.932 MB / 0.5497 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002597/0.407, allocations: 1.645 MB / 0.5513 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.418, allocations: 7.451 MB / 0.5585 GB, free: 7.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.418, allocations: 0 / 0.5585 GB, free: 7.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.418, allocations: 1.25 kB / 0.5585 GB, free: 7.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002995/0.4183, allocations: 0 / 0.5585 GB, free: 7.027 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01336/0.4317, allocations: 4.996 MB / 0.5634 GB, free: 4.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4317, allocations: 11.25 kB / 0.5634 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002092/0.4338, allocations: 0.8155 MB / 0.5642 GB, free: 3.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.4446, allocations: 3.178 MB / 0.5673 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006859/0.4514, allocations: 2.631 MB / 0.5699 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.4517, allocations: 236.2 kB / 0.5701 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.453, allocations: 314 kB / 0.5704 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/0.4746, allocations: 12.1 MB / 0.5822 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000148/0.4747, allocations: 36.48 kB / 0.5823 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001029/0.4758, allocations: 144.7 kB / 0.5824 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004622/0.4804, allocations: 2.833 MB / 0.5852 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02375/0.5042, allocations: 11.35 MB / 0.5963 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06803/0.5722, allocations: 38.99 MB / 0.6343 GB, free: 7.113 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/0.5847, allocations: 4.904 MB / 0.6391 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004419/0.5891, allocations: 2.766 MB / 0.6418 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/0.5904, allocations: 0.5515 MB / 0.6424 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.5904, allocations: 60.56 kB / 0.6424 GB, free: 14.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=262): time 5.851e-06/0.5904, allocations: 0 / 0.6424 GB, free: 14.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=283): time 0.05507/0.6455, allocations: 20.09 MB / 0.662 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.6456, allocations: 77.41 kB / 0.6621 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006042/0.6516, allocations: 3.263 MB / 0.6653 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005832/0.6522, allocations: 64.2 kB / 0.6654 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002777/0.655, allocations: 3.133 MB / 0.6684 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001568/0.6565, allocations: 1.065 MB / 0.6695 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00294/0.6595, allocations: 1.21 MB / 0.6706 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6596, allocations: 309.1 kB / 0.6709 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005033/0.6646, allocations: 2.848 MB / 0.6737 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008318/0.673, allocations: 6.063 MB / 0.6796 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0148/0.6878, allocations: 9.705 MB / 0.6891 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001344/0.6879, allocations: 36 kB / 0.6892 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02209/0.71, allocations: 10.07 MB / 0.699 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.7101, allocations: 52 kB / 0.699 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/0.7103, allocations: 115.4 kB / 0.6991 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00399/0.7143, allocations: 1.363 MB / 0.7005 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005274/0.7196, allocations: 1.376 MB / 0.7018 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/0.7316, allocations: 7.63 MB / 0.7093 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005037/0.7367, allocations: 365.5 kB / 0.7096 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/0.7381, allocations: 348 kB / 0.71 GB, free: 6.477 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (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 (724): * Single equations (assignments): 717 * 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.006237/0.7443, allocations: 2.299 MB / 0.7122 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/0.7454, allocations: 329.7 kB / 0.7125 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/0.7589, allocations: 6.599 MB / 0.719 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-05/0.759, allocations: 65.98 kB / 0.719 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.759, allocations: 4 kB / 0.719 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-05/0.7591, allocations: 15.94 kB / 0.719 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02948/0.7886, allocations: 13.37 MB / 0.7321 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-05/0.7886, allocations: 8.031 kB / 0.7321 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002583/0.7912, allocations: 451.3 kB / 0.7325 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003932/0.7951, allocations: 1.213 MB / 0.7337 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008282/0.7959, allocations: 55.92 kB / 0.7338 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/0.8065, allocations: 6.836 MB / 0.7405 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.8065, allocations: 8 kB / 0.7405 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01922/0.8257, allocations: 9.874 MB / 0.7501 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00303/0.8288, allocations: 0.7671 MB / 0.7508 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/0.8299, allocations: 54.27 kB / 0.7509 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/0.8323, allocations: 199.6 kB / 0.7511 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006699/0.8329, allocations: 165.6 kB / 0.7512 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003375/0.8333, allocations: 77.31 kB / 0.7513 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004016/0.8373, allocations: 1.895 MB / 0.7532 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8373, allocations: 0 / 0.7532 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008755/0.846, allocations: 1.135 MB / 0.7543 GB, free: 8.617 MB / 0.5919 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.2502/1.096, allocations: 10.52 MB / 0.7646 GB, free: 198 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01229/1.109, allocations: 6.692 MB / 0.7711 GB, free: 196.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/1.109, allocations: 4.594 kB / 0.7711 GB, free: 196.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004712/1.113, allocations: 2.648 MB / 0.7737 GB, free: 195.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/1.116, allocations: 419.2 kB / 0.7741 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06794/1.184, allocations: 49.41 MB / 0.8223 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004456/1.189, allocations: 3.051 MB / 0.8253 GB, free: 158.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004517/1.193, allocations: 2.207 MB / 0.8275 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002928/1.196, allocations: 2.065 MB / 0.8295 GB, free: 154.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.292e-06/1.196, allocations: 0 / 0.8295 GB, free: 154.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/1.311, allocations: 70.88 MB / 0.8987 GB, free: 83.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/17.64, allocations: 15.78 kB / 0.8987 GB, free: 83.54 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.591785172000527]