Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002219/0.002219, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002483/0.002483, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 249.8 MB, free: 3.594 MB / 190.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.2597/0.2597, allocations: 44.91 MB / 349.6 MB, free: 1.727 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002884/0.002884, allocations: 61.39 kB / 491.8 MB, free: 29.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1275, allocations: 64.26 MB / 0.543 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01377/0.1413, allocations: 12.03 MB / 0.5548 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008913/0.1502, allocations: 4.394 MB / 0.559 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.1519, allocations: 67.81 kB / 0.5591 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005713/0.1576, allocations: 2.815 MB / 0.5619 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005834/0.1635, allocations: 2.082 MB / 0.5639 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.1662, allocations: 1.006 MB / 0.5649 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008749/0.1749, allocations: 5.288 MB / 0.57 GB, free: 8.324 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004407/0.1793, allocations: 2.944 MB / 0.5729 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.1826, allocations: 1.756 MB / 0.5746 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005431/0.1881, allocations: 2.652 MB / 0.5772 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001912/0.19, allocations: 368 kB / 0.5776 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003783/0.1938, allocations: 1.467 MB / 0.579 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003321/0.1971, allocations: 2.267 MB / 0.5812 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004191/0.2013, allocations: 2.575 MB / 0.5837 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.2126, allocations: 8.284 MB / 0.5918 GB, free: 1.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2126, allocations: 7.938 kB / 0.5918 GB, free: 1.891 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2126, allocations: 0 / 0.5918 GB, free: 1.891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002387/0.2129, allocations: 0 / 0.5918 GB, free: 1.891 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01678/0.2297, allocations: 6.034 MB / 0.5977 GB, free: 11.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.2297, allocations: 12.03 kB / 0.5977 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002136/0.2319, allocations: 0.7946 MB / 0.5985 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08009/0.3119, allocations: 7.246 MB / 0.6056 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3008/0.6127, allocations: 3.825 MB / 0.6093 GB, free: 54.42 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/0.6131, allocations: 261.2 kB / 0.6096 GB, free: 54.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/0.6146, allocations: 345.4 kB / 0.6099 GB, free: 54.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0229/0.6375, allocations: 12.29 MB / 0.6219 GB, free: 49.53 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000192/0.6377, allocations: 53.58 kB / 0.622 GB, free: 49.51 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005311/0.6382, allocations: 164 kB / 0.6221 GB, free: 49.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005019/0.6433, allocations: 2.38 MB / 0.6244 GB, free: 49.01 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02227/0.6655, allocations: 10.7 MB / 0.6349 GB, free: 45.19 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05718/0.7227, allocations: 48.65 MB / 0.6824 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01523/0.7379, allocations: 5.647 MB / 0.6879 GB, free: 6.746 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004022/0.742, allocations: 2.825 MB / 0.6907 GB, free: 3.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02263/0.7646, allocations: 13.02 MB / 0.7034 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.383e-05/0.7647, allocations: 63.8 kB / 0.7034 GB, free: 6.617 MB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 4.98e-06/0.7647, allocations: 0 / 0.7034 GB, free: 6.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.1189/0.8836, allocations: 38.91 MB / 0.7414 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.8837, allocations: 209.9 kB / 0.7416 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006508/0.8902, allocations: 4.392 MB / 0.7459 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005927/0.8908, allocations: 61.7 kB / 0.746 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003354/0.8942, allocations: 3.574 MB / 0.7495 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001988/0.8962, allocations: 0.9922 MB / 0.7504 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002781/0.8989, allocations: 1.37 MB / 0.7518 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.8991, allocations: 301.1 kB / 0.7521 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004859/0.9039, allocations: 3.117 MB / 0.7551 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0085/0.9124, allocations: 7.042 MB / 0.762 GB, free: 8.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/0.9275, allocations: 10.97 MB / 0.7727 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/0.9277, allocations: 40.75 kB / 0.7727 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02715/0.9548, allocations: 12.64 MB / 0.7851 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.955, allocations: 64 kB / 0.7851 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000224/0.9552, allocations: 147.9 kB / 0.7853 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009824/0.965, allocations: 3.24 MB / 0.7885 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005997/0.971, allocations: 1.532 MB / 0.79 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02771/0.9987, allocations: 16.62 MB / 0.8062 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005486/1.004, allocations: 435.4 kB / 0.8066 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/1.006, allocations: 404 kB / 0.807 GB, free: 8.57 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005325/1.011, allocations: 2.349 MB / 0.8093 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/1.012, allocations: 425.1 kB / 0.8097 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/1.029, allocations: 7.484 MB / 0.817 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.479e-05/1.029, allocations: 28 kB / 0.817 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/1.029, allocations: 11.94 kB / 0.817 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-05/1.029, allocations: 15.95 kB / 0.817 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03235/1.062, allocations: 15 MB / 0.8317 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.977e-05/1.062, allocations: 0 / 0.8317 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/1.064, allocations: 375.5 kB / 0.8321 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00876/1.073, allocations: 2.931 MB / 0.8349 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006953/1.073, allocations: 47.94 kB / 0.835 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3115/1.385, allocations: 14.81 MB / 0.8494 GB, free: 206.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.385, allocations: 2.078 kB / 0.8494 GB, free: 206.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02231/1.407, allocations: 11.47 MB / 0.8606 GB, free: 203.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.408, allocations: 468.3 kB / 0.8611 GB, free: 203.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/1.41, allocations: 43.34 kB / 0.8611 GB, free: 203.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/1.412, allocations: 194.3 kB / 0.8613 GB, free: 203.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006842/1.413, allocations: 144 kB / 0.8614 GB, free: 203.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002655/1.413, allocations: 63.75 kB / 0.8615 GB, free: 203.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.005605/1.419, allocations: 2.75 MB / 0.8642 GB, free: 202.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/1.419, allocations: 4.406 kB / 0.8642 GB, free: 202.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007473/1.426, allocations: 1.317 MB / 0.8655 GB, free: 202.5 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01796/1.444, allocations: 12.13 MB / 0.8773 GB, free: 197.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01096/1.455, allocations: 7.532 MB / 0.8847 GB, free: 195.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.455, allocations: 2.031 kB / 0.8847 GB, free: 195.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004218/1.459, allocations: 2.878 MB / 0.8875 GB, free: 194.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/1.463, allocations: 0.5149 MB / 0.888 GB, free: 193.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08645/1.55, allocations: 60.69 MB / 0.9473 GB, free: 130.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004171/1.554, allocations: 3.674 MB / 0.9509 GB, free: 126.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004692/1.559, allocations: 2.172 MB / 0.953 GB, free: 124.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003233/1.562, allocations: 2.221 MB / 0.9551 GB, free: 122.3 MB / 0.6231 GB Notification: Performance of SimCode: time 1.283e-06/1.562, allocations: 0 / 0.9551 GB, free: 122.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/1.702, allocations: 95.02 MB / 1.048 GB, free: 27.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.56/30.26, allocations: 13.19 kB / 1.048 GB, free: 27.65 MB / 0.6231 GB " [Timeout remaining time 630] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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: 34.282789249904454]