Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001362/0.001362, allocations: 111.8 kB / 20.43 MB, free: 1.473 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.001506/0.001506, allocations: 214 kB / 23.74 MB, free: 4.688 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2316/0.2316, allocations: 46.94 MB / 360.9 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 0.4962 GB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3293, allocations: 66.05 MB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01728/0.3466, allocations: 13.53 MB / 0.5739 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.3569, allocations: 4.262 MB / 0.578 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/0.36, allocations: 83.69 kB / 0.5781 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004967/0.365, allocations: 1.997 MB / 0.5801 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006116/0.3711, allocations: 1.95 MB / 0.582 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.3729, allocations: 0.5536 MB / 0.5825 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00666/0.3795, allocations: 4.05 MB / 0.5865 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004055/0.3836, allocations: 2.416 MB / 0.5888 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.3862, allocations: 1.468 MB / 0.5903 GB, free: 6.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003326/0.3896, allocations: 2.204 MB / 0.5924 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007026/0.3903, allocations: 307.9 kB / 0.5927 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.3924, allocations: 1.041 MB / 0.5937 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001963/0.3944, allocations: 1.908 MB / 0.5956 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002518/0.3969, allocations: 2.232 MB / 0.5978 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008653/0.4055, allocations: 7.321 MB / 0.6049 GB, free: 6.949 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4055, allocations: 0 / 0.6049 GB, free: 6.949 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4055, allocations: 0 / 0.6049 GB, free: 6.949 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001792/0.4057, allocations: 4 kB / 0.6049 GB, free: 6.945 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.01051/0.4162, allocations: 4.945 MB / 0.6097 GB, free: 1.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.4163, allocations: 12.03 kB / 0.6098 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001439/0.4177, allocations: 0.8157 MB / 0.6106 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.4284, allocations: 3.172 MB / 0.6137 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006037/0.4345, allocations: 2.339 MB / 0.6159 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.4347, allocations: 246.2 kB / 0.6162 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009905/0.4357, allocations: 315.7 kB / 0.6165 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02084/0.4565, allocations: 12.08 MB / 0.6283 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.4567, allocations: 43.69 kB / 0.6283 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000569/0.4572, allocations: 139.8 kB / 0.6284 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005089/0.4623, allocations: 2.835 MB / 0.6312 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0259/0.4882, allocations: 11.36 MB / 0.6423 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06653/0.5548, allocations: 40.97 MB / 0.6823 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.5665, allocations: 4.913 MB / 0.6871 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004395/0.5709, allocations: 2.771 MB / 0.6898 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.5722, allocations: 0.5555 MB / 0.6904 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.038e-05/0.5722, allocations: 52.56 kB / 0.6904 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 5.591e-06/0.5722, allocations: 0 / 0.6904 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.05177/0.624, allocations: 19.98 MB / 0.7099 GB, free: 9.574 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.6241, allocations: 73.41 kB / 0.71 GB, free: 9.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005131/0.6292, allocations: 3.036 MB / 0.713 GB, free: 6.438 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000648/0.6299, allocations: 61.7 kB / 0.713 GB, free: 6.371 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002777/0.6326, allocations: 3.108 MB / 0.7161 GB, free: 3.234 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001963/0.6346, allocations: 1.069 MB / 0.7171 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002183/0.6368, allocations: 1.199 MB / 0.7183 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6369, allocations: 305.1 kB / 0.7186 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004629/0.6416, allocations: 2.85 MB / 0.7213 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007721/0.6493, allocations: 6.022 MB / 0.7272 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2961/0.9454, allocations: 9.658 MB / 0.7367 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/0.9455, allocations: 35.25 kB / 0.7367 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01818/0.9637, allocations: 10.03 MB / 0.7465 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.9638, allocations: 50.72 kB / 0.7465 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002238/0.964, allocations: 110.7 kB / 0.7466 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003436/0.9675, allocations: 1.368 MB / 0.748 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004845/0.9723, allocations: 1.362 MB / 0.7493 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009188/0.9815, allocations: 7.7 MB / 0.7568 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/0.9858, allocations: 368.5 kB / 0.7572 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/0.9871, allocations: 339.6 kB / 0.7575 GB, free: 138.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.004228/0.9913, allocations: 2.298 MB / 0.7597 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005405/0.9918, allocations: 322.5 kB / 0.76 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008954/1.001, allocations: 6.611 MB / 0.7665 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.642e-05/1.001, allocations: 47.94 kB / 0.7665 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.001, allocations: 4 kB / 0.7665 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.178e-05/1.001, allocations: 15.95 kB / 0.7666 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/1.019, allocations: 13.84 MB / 0.7801 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/1.019, allocations: 8 kB / 0.7801 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/1.021, allocations: 455.3 kB / 0.7805 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/1.024, allocations: 1.21 MB / 0.7817 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004112/1.024, allocations: 52.59 kB / 0.7818 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006884/1.031, allocations: 6.919 MB / 0.7885 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.031, allocations: 11.94 kB / 0.7885 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/1.044, allocations: 9.864 MB / 0.7982 GB, free: 98.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007634/1.044, allocations: 293.9 kB / 0.7984 GB, free: 97.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000705/1.045, allocations: 49.77 kB / 0.7985 GB, free: 97.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/1.047, allocations: 201.6 kB / 0.7987 GB, free: 97.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/1.047, allocations: 173.1 kB / 0.7988 GB, free: 97.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/1.047, allocations: 76 kB / 0.7989 GB, free: 97.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00242/1.05, allocations: 1.874 MB / 0.8007 GB, free: 95.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.05, allocations: 0 / 0.8007 GB, free: 95.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004386/1.054, allocations: 1.106 MB / 0.8018 GB, free: 94.33 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.01218/1.066, allocations: 10.52 MB / 0.8121 GB, free: 83.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00845/1.075, allocations: 6.679 MB / 0.8186 GB, free: 76.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.075, allocations: 4 kB / 0.8186 GB, free: 76.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003461/1.078, allocations: 2.656 MB / 0.8212 GB, free: 74.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/1.08, allocations: 420.4 kB / 0.8216 GB, free: 73.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06188/1.142, allocations: 49.1 MB / 0.8696 GB, free: 19.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/1.146, allocations: 3.571 MB / 0.8731 GB, free: 16.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004118/1.15, allocations: 2.2 MB / 0.8752 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002752/1.153, allocations: 2.073 MB / 0.8772 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.323e-06/1.153, allocations: 0 / 0.8772 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1429/1.296, allocations: 75.64 MB / 0.9511 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.47/26.77, allocations: 6.281 kB / 0.9511 GB, free: 0.6875 MB / 0.6231 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 29.9968860700028]