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.001758/0.001758, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002286/0.002286, allocations: 214.3 kB / 22.98 MB, free: 4.977 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.432/1.432, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.2177/0.2177, allocations: 44.27 MB / 330.3 MB, free: 9.289 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.002331/0.002331, allocations: 71.89 kB / 467.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1192, allocations: 61.06 MB / 0.5162 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01623/0.1354, allocations: 12.36 MB / 0.5282 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009665/0.1451, allocations: 4.105 MB / 0.5323 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.1476, allocations: 83.69 kB / 0.5323 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00484/0.1524, allocations: 1.935 MB / 0.5342 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005652/0.1581, allocations: 1.989 MB / 0.5362 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.1598, allocations: 0.5575 MB / 0.5367 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2242/0.384, allocations: 4.065 MB / 0.5407 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004244/0.3883, allocations: 2.439 MB / 0.5431 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003127/0.3914, allocations: 1.503 MB / 0.5445 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003799/0.3952, allocations: 2.116 MB / 0.5466 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.3963, allocations: 307.3 kB / 0.5469 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.3989, allocations: 0.9206 MB / 0.5478 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003147/0.402, allocations: 1.93 MB / 0.5497 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003775/0.4058, allocations: 1.647 MB / 0.5513 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009228/0.415, allocations: 7.448 MB / 0.5585 GB, free: 7.031 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.415, allocations: 1.062 kB / 0.5585 GB, free: 7.031 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.415, allocations: 0 / 0.5585 GB, free: 7.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002257/0.4153, allocations: 0.9062 kB / 0.5586 GB, free: 7.031 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.01194/0.4272, allocations: 4.995 MB / 0.5634 GB, free: 4.301 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4272, allocations: 11.81 kB / 0.5634 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001885/0.4291, allocations: 0.8179 MB / 0.5642 GB, free: 3.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.4399, allocations: 3.175 MB / 0.5673 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007166/0.4471, allocations: 2.626 MB / 0.5699 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.4474, allocations: 246.9 kB / 0.5701 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/0.4492, allocations: 311.8 kB / 0.5704 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02433/0.4735, allocations: 12.09 MB / 0.5822 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001447/0.4736, allocations: 41.91 kB / 0.5823 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006964/0.4743, allocations: 144.9 kB / 0.5824 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004912/0.4792, allocations: 2.832 MB / 0.5852 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02546/0.5047, allocations: 11.34 MB / 0.5963 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06776/0.5725, allocations: 38.99 MB / 0.6343 GB, free: 7.074 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/0.5844, allocations: 4.909 MB / 0.6391 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00439/0.5888, allocations: 2.771 MB / 0.6418 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/0.5902, allocations: 0.542 MB / 0.6424 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.5902, allocations: 52.56 kB / 0.6424 GB, free: 14.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=262): time 5.701e-06/0.5902, allocations: 0 / 0.6424 GB, free: 14.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=283): time 0.05393/0.6441, allocations: 20.1 MB / 0.662 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.6442, allocations: 77.41 kB / 0.6621 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005047/0.6493, allocations: 3.255 MB / 0.6653 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005452/0.6498, allocations: 65.7 kB / 0.6654 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002577/0.6524, allocations: 3.137 MB / 0.6684 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001606/0.654, allocations: 1.07 MB / 0.6695 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002393/0.6564, allocations: 1.199 MB / 0.6706 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6565, allocations: 312.2 kB / 0.6709 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005/0.6615, allocations: 2.85 MB / 0.6737 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00826/0.6698, allocations: 6.064 MB / 0.6796 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/0.6837, allocations: 9.71 MB / 0.6891 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.984e-05/0.6838, allocations: 28 kB / 0.6892 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02015/0.704, allocations: 10.07 MB / 0.699 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.7041, allocations: 52 kB / 0.699 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/0.7042, allocations: 112 kB / 0.6991 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003886/0.7081, allocations: 1.366 MB / 0.7005 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005133/0.7132, allocations: 1.38 MB / 0.7018 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.7247, allocations: 7.628 MB / 0.7093 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004517/0.7292, allocations: 367.7 kB / 0.7096 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/0.7302, allocations: 347.5 kB / 0.71 GB, free: 6.426 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.004858/0.7351, allocations: 2.299 MB / 0.7122 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006826/0.7358, allocations: 329.7 kB / 0.7125 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/0.7482, allocations: 6.604 MB / 0.719 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-05/0.7483, allocations: 58.42 kB / 0.719 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.7483, allocations: 4 kB / 0.719 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/0.7483, allocations: 15.95 kB / 0.719 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/0.7748, allocations: 13.36 MB / 0.7321 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.7748, allocations: 4 kB / 0.7321 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002115/0.7769, allocations: 459.3 kB / 0.7325 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003619/0.7805, allocations: 1.21 MB / 0.7337 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003177/0.7808, allocations: 57.5 kB / 0.7338 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.7909, allocations: 6.845 MB / 0.7405 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.7909, allocations: 11.94 kB / 0.7405 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/0.8093, allocations: 9.868 MB / 0.7501 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003043/0.8123, allocations: 0.771 MB / 0.7509 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/0.8134, allocations: 47.98 kB / 0.7509 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/0.8158, allocations: 202.5 kB / 0.7511 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005937/0.8164, allocations: 173.5 kB / 0.7513 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000255/0.8166, allocations: 72 kB / 0.7513 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003825/0.8205, allocations: 1.899 MB / 0.7532 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8205, allocations: 0 / 0.7532 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006618/0.8271, allocations: 1.131 MB / 0.7543 GB, free: 8.562 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.2393/1.066, allocations: 10.52 MB / 0.7646 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.077, allocations: 6.698 MB / 0.7711 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-05/1.077, allocations: 1.281 kB / 0.7711 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00429/1.082, allocations: 2.647 MB / 0.7737 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/1.084, allocations: 412.5 kB / 0.7741 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07534/1.16, allocations: 49.41 MB / 0.8223 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004181/1.164, allocations: 3.055 MB / 0.8253 GB, free: 158.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004334/1.168, allocations: 2.207 MB / 0.8275 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002845/1.171, allocations: 2.069 MB / 0.8295 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of SimCode: time 2.164e-06/1.171, allocations: 0 / 0.8295 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/1.285, allocations: 70.88 MB / 0.8987 GB, free: 83.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/17.53, allocations: 15.78 kB / 0.8987 GB, free: 83.44 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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.92960492754355]