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.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.002122/0.002122, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001871/0.001871, allocations: 209.9 kB / 23.73 MB, free: 4.387 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.2341/0.2341, allocations: 44.94 MB / 358.8 MB, free: 6.062 MB / 286.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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002131/0.002131, allocations: 63.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3437, allocations: 65.47 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01423/0.3579, allocations: 10.45 MB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009374/0.3673, allocations: 4.19 MB / 0.5713 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.3692, allocations: 79.62 kB / 0.5713 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005975/0.3752, allocations: 2.694 MB / 0.574 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005751/0.3809, allocations: 2.07 MB / 0.576 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.3835, allocations: 1.01 MB / 0.577 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008552/0.3921, allocations: 5.369 MB / 0.5822 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00499/0.397, allocations: 2.88 MB / 0.585 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003631/0.4007, allocations: 1.772 MB / 0.5868 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004491/0.4052, allocations: 2.507 MB / 0.5892 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001712/0.4069, allocations: 368 kB / 0.5896 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003824/0.4107, allocations: 1.303 MB / 0.5908 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003469/0.4142, allocations: 2.244 MB / 0.593 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004168/0.4183, allocations: 1.907 MB / 0.5949 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.4304, allocations: 8.257 MB / 0.603 GB, free: 8.234 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4304, allocations: 0 / 0.603 GB, free: 8.234 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4304, allocations: 0 / 0.603 GB, free: 8.234 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002997/0.4307, allocations: 4 kB / 0.603 GB, free: 8.23 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.01747/0.4482, allocations: 5.943 MB / 0.6088 GB, free: 2.227 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4483, allocations: 16.02 kB / 0.6088 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002243/0.4505, allocations: 0.7946 MB / 0.6096 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08857/0.5391, allocations: 7.246 MB / 0.6166 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.5496, allocations: 3.541 MB / 0.6201 GB, free: 6.551 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/0.5499, allocations: 266.8 kB / 0.6203 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001575/0.5515, allocations: 355.6 kB / 0.6207 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/0.5783, allocations: 12.38 MB / 0.6328 GB, free: 8.727 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000255/0.5786, allocations: 59.56 kB / 0.6328 GB, free: 8.668 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001319/0.5799, allocations: 155.8 kB / 0.633 GB, free: 8.516 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004625/0.5845, allocations: 2.381 MB / 0.6353 GB, free: 6.133 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02547/0.61, allocations: 10.67 MB / 0.6457 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07423/0.6842, allocations: 46.34 MB / 0.691 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01579/0.7, allocations: 5.176 MB / 0.696 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004407/0.7044, allocations: 2.844 MB / 0.6988 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02283/0.7273, allocations: 11.28 MB / 0.7098 GB, free: 8.426 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.7273, allocations: 59.81 kB / 0.7099 GB, free: 8.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 5.15e-06/0.7273, allocations: 0 / 0.7099 GB, free: 8.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.4148/1.142, allocations: 38.58 MB / 0.7476 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/1.142, allocations: 211.5 kB / 0.7478 GB, free: 155 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005841/1.148, allocations: 4.613 MB / 0.7523 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005811/1.149, allocations: 68.55 kB / 0.7523 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002752/1.151, allocations: 3.564 MB / 0.7558 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001462/1.153, allocations: 0.9862 MB / 0.7568 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001676/1.154, allocations: 1.373 MB / 0.7581 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.932e-05/1.155, allocations: 306.8 kB / 0.7584 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003515/1.158, allocations: 3.125 MB / 0.7615 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005568/1.164, allocations: 7.094 MB / 0.7684 GB, free: 137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009826/1.173, allocations: 10.96 MB / 0.7791 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/1.174, allocations: 40 kB / 0.7791 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02223/1.196, allocations: 12.66 MB / 0.7915 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/1.196, allocations: 66.19 kB / 0.7915 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002479/1.196, allocations: 136 kB / 0.7917 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008374/1.205, allocations: 3.239 MB / 0.7948 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005051/1.21, allocations: 1.536 MB / 0.7963 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/1.23, allocations: 16.32 MB / 0.8123 GB, free: 90.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006023/1.236, allocations: 435.4 kB / 0.8127 GB, free: 89.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/1.237, allocations: 408 kB / 0.8131 GB, free: 89.31 MB / 0.5606 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.004868/1.242, allocations: 2.353 MB / 0.8154 GB, free: 86.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.243, allocations: 422.9 kB / 0.8158 GB, free: 86.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/1.257, allocations: 7.483 MB / 0.8231 GB, free: 79.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.707e-05/1.257, allocations: 28 kB / 0.8231 GB, free: 79.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.624e-05/1.257, allocations: 8 kB / 0.8231 GB, free: 79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-05/1.257, allocations: 11.97 kB / 0.8231 GB, free: 78.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02718/1.284, allocations: 14.38 MB / 0.8372 GB, free: 64.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/1.284, allocations: 4 kB / 0.8372 GB, free: 64.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/1.286, allocations: 375.5 kB / 0.8375 GB, free: 64.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007619/1.294, allocations: 2.927 MB / 0.8404 GB, free: 61.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004544/1.294, allocations: 39.98 kB / 0.8404 GB, free: 61.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01733/1.312, allocations: 14.56 MB / 0.8547 GB, free: 46.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.312, allocations: 0 / 0.8547 GB, free: 46.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.329, allocations: 11.47 MB / 0.8659 GB, free: 35.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/1.331, allocations: 393.1 kB / 0.8662 GB, free: 34.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001412/1.332, allocations: 36 kB / 0.8663 GB, free: 34.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002758/1.335, allocations: 199.7 kB / 0.8665 GB, free: 34.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006801/1.336, allocations: 149.7 kB / 0.8666 GB, free: 34.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002892/1.336, allocations: 64 kB / 0.8667 GB, free: 34.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00438/1.34, allocations: 2.748 MB / 0.8693 GB, free: 31.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.34, allocations: 0 / 0.8693 GB, free: 31.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005874/1.346, allocations: 1.296 MB / 0.8706 GB, free: 30.15 MB / 0.5606 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.01744/1.364, allocations: 12.14 MB / 0.8825 GB, free: 17.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01084/1.375, allocations: 7.52 MB / 0.8898 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.375, allocations: 0 / 0.8898 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004276/1.379, allocations: 2.886 MB / 0.8926 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00394/1.383, allocations: 0.5136 MB / 0.8931 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1185/1.501, allocations: 60.74 MB / 0.9524 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006512/1.508, allocations: 3.139 MB / 0.9555 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006408/1.514, allocations: 2.176 MB / 0.9576 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00422/1.518, allocations: 2.218 MB / 0.9598 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of SimCode: time 1.674e-06/1.518, allocations: 0 / 0.9598 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4006/1.919, allocations: 96.23 MB / 1.054 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.13/20.05, allocations: 19.36 kB / 1.054 GB, free: 156.9 MB / 0.6387 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 23.36536063393578]