Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.001949/0.001949, 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.002449/0.002449, allocations: 217 kB / 22.99 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.645/1.645, allocations: 207.7 MB / 233.8 MB, free: 9.781 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.2404/0.2404, allocations: 44.27 MB / 330.3 MB, free: 9.293 MB / 270.1 MB " [Timeout remaining time 179] 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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",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.002313/0.002313, allocations: 69.62 kB / 467.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1368, allocations: 61.06 MB / 0.5162 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01524/0.152, allocations: 10.51 MB / 0.5264 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.1622, allocations: 4.178 MB / 0.5305 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/0.1642, allocations: 87.56 kB / 0.5306 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005762/0.17, allocations: 2.694 MB / 0.5332 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006359/0.1764, allocations: 2.117 MB / 0.5353 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.1791, allocations: 1.01 MB / 0.5363 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2859/0.465, allocations: 5.134 MB / 0.5413 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005257/0.4702, allocations: 2.881 MB / 0.5441 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.4743, allocations: 1.796 MB / 0.5459 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005571/0.4799, allocations: 2.529 MB / 0.5483 GB, free: 9.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.4812, allocations: 368 kB / 0.5487 GB, free: 9.953 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004147/0.4853, allocations: 1.312 MB / 0.55 GB, free: 9.953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003539/0.4889, allocations: 2.275 MB / 0.5522 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005343/0.4942, allocations: 1.941 MB / 0.5541 GB, free: 8.883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.5074, allocations: 8.342 MB / 0.5622 GB, free: 6.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.5074, allocations: 1.406 kB / 0.5622 GB, free: 6.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5074, allocations: 3.312 kB / 0.5622 GB, free: 6.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003691/0.5078, allocations: 0.5 kB / 0.5622 GB, free: 6.133 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02388/0.5317, allocations: 5.991 MB / 0.5681 GB, free: 2.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.5318, allocations: 10.25 kB / 0.5681 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002166/0.5339, allocations: 0.7977 MB / 0.5689 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08565/0.6196, allocations: 7.249 MB / 0.5759 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/0.6317, allocations: 4.075 MB / 0.5799 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.632, allocations: 251.9 kB / 0.5802 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/0.6332, allocations: 353.9 kB / 0.5805 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02838/0.6616, allocations: 12.38 MB / 0.5926 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004083/0.662, allocations: 55.47 kB / 0.5927 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002161/0.6642, allocations: 162.9 kB / 0.5928 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004947/0.6691, allocations: 2.377 MB / 0.5951 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02622/0.6953, allocations: 10.68 MB / 0.6056 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07492/0.7702, allocations: 46.38 MB / 0.6509 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01562/0.7859, allocations: 5.171 MB / 0.6559 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00425/0.7901, allocations: 2.834 MB / 0.6587 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02068/0.8108, allocations: 11.3 MB / 0.6697 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.44e-05/0.8108, allocations: 67.73 kB / 0.6698 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=193): time 6.132e-06/0.8109, allocations: 4 kB / 0.6698 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.1207/0.9316, allocations: 38.69 MB / 0.7076 GB, free: 12.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001678/0.9318, allocations: 209.9 kB / 0.7078 GB, free: 12.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008384/0.9401, allocations: 4.661 MB / 0.7123 GB, free: 7.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000721/0.9409, allocations: 65.7 kB / 0.7124 GB, free: 7.281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00316/0.944, allocations: 3.571 MB / 0.7159 GB, free: 3.727 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001503/0.9455, allocations: 0.9916 MB / 0.7168 GB, free: 2.746 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002283/0.9478, allocations: 1.379 MB / 0.7182 GB, free: 1.359 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9479, allocations: 301.1 kB / 0.7185 GB, free: 1.062 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005066/0.953, allocations: 3.113 MB / 0.7215 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008887/0.9619, allocations: 7.095 MB / 0.7284 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01707/0.979, allocations: 10.95 MB / 0.7391 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002289/0.9792, allocations: 43.94 kB / 0.7392 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02992/1.009, allocations: 12.65 MB / 0.7515 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.009, allocations: 64 kB / 0.7516 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/1.009, allocations: 136 kB / 0.7517 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/1.02, allocations: 3.241 MB / 0.7549 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006336/1.026, allocations: 1.536 MB / 0.7564 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2761/1.302, allocations: 16.33 MB / 0.7723 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006543/1.309, allocations: 439.4 kB / 0.7727 GB, free: 189.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/1.31, allocations: 406.7 kB / 0.7731 GB, free: 189.4 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.006084/1.316, allocations: 2.342 MB / 0.7754 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/1.318, allocations: 428.7 kB / 0.7758 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01648/1.334, allocations: 7.485 MB / 0.7831 GB, free: 186 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.997e-05/1.334, allocations: 30.61 kB / 0.7832 GB, free: 186 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.979e-05/1.334, allocations: 12.56 kB / 0.7832 GB, free: 186 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.389e-05/1.334, allocations: 12.75 kB / 0.7832 GB, free: 186 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02785/1.362, allocations: 14.38 MB / 0.7972 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/1.362, allocations: 3.938 kB / 0.7972 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/1.364, allocations: 384.5 kB / 0.7976 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007737/1.372, allocations: 2.928 MB / 0.8005 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005293/1.372, allocations: 42.25 kB / 0.8005 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/1.39, allocations: 14.55 MB / 0.8147 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.39, allocations: 0 / 0.8147 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01741/1.407, allocations: 11.49 MB / 0.8259 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002946/1.41, allocations: 0.8634 MB / 0.8268 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/1.411, allocations: 43.78 kB / 0.8268 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002389/1.414, allocations: 191.7 kB / 0.827 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005119/1.414, allocations: 154.7 kB / 0.8271 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/1.415, allocations: 67.98 kB / 0.8272 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004055/1.419, allocations: 2.775 MB / 0.8299 GB, free: 157.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/1.419, allocations: 0 / 0.8299 GB, free: 157.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007109/1.426, allocations: 1.312 MB / 0.8312 GB, free: 156.2 MB / 0.5919 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.0166/1.442, allocations: 12.13 MB / 0.843 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.454, allocations: 7.542 MB / 0.8504 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.454, allocations: 0 / 0.8504 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004255/1.458, allocations: 2.882 MB / 0.8532 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004736/1.463, allocations: 0.5127 MB / 0.8537 GB, free: 133.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1092/1.572, allocations: 60.95 MB / 0.9133 GB, free: 66.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006313/1.578, allocations: 3.154 MB / 0.9163 GB, free: 62.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005422/1.583, allocations: 2.175 MB / 0.9185 GB, free: 60.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004275/1.588, allocations: 2.225 MB / 0.9206 GB, free: 58.47 MB / 0.5919 GB Notification: Performance of SimCode: time 2.074e-06/1.588, allocations: 0 / 0.9206 GB, free: 58.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4252/2.013, allocations: 96.57 MB / 1.015 GB, free: 195.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.14/20.16, allocations: 6.156 kB / 1.015 GB, free: 195.9 MB / 0.6075 GB " [Timeout remaining time 640] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 23.680959936231375]