Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002404/0.002404, allocations: 119.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002424/0.002424, allocations: 215.5 kB / 20.75 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 230.4 MB / 254 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2762/0.2762, allocations: 46.92 MB / 357 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 79.89 kB / 0.491 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1308, allocations: 66.04 MB / 0.5555 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01474/0.1456, allocations: 12.01 MB / 0.5672 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.1569, allocations: 4.402 MB / 0.5715 GB, free: 5.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.1592, allocations: 83.62 kB / 0.5716 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005448/0.1646, allocations: 2.787 MB / 0.5743 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005668/0.1703, allocations: 2.053 MB / 0.5763 GB, free: 88 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.1726, allocations: 1.014 MB / 0.5773 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007944/0.1805, allocations: 5.362 MB / 0.5825 GB, free: 9.699 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003861/0.1844, allocations: 2.96 MB / 0.5854 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.1872, allocations: 1.772 MB / 0.5871 GB, free: 4.914 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004133/0.1913, allocations: 2.64 MB / 0.5897 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000994/0.1923, allocations: 368 kB / 0.5901 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/0.1951, allocations: 1.455 MB / 0.5915 GB, free: 460 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3549/0.55, allocations: 2.235 MB / 0.5937 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006045/0.556, allocations: 2.553 MB / 0.5962 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.5715, allocations: 8.217 MB / 0.6042 GB, free: 9.129 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.5715, allocations: 2.766 kB / 0.6042 GB, free: 9.129 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.5715, allocations: 0.9062 kB / 0.6042 GB, free: 9.129 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000368/0.5719, allocations: 0 / 0.6042 GB, free: 9.129 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.02232/0.5942, allocations: 6.023 MB / 0.6101 GB, free: 6.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.5943, allocations: 11.67 kB / 0.6101 GB, free: 6.824 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003095/0.5974, allocations: 0.7921 MB / 0.6109 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08999/0.6874, allocations: 7.245 MB / 0.6179 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009124/0.6965, allocations: 3.615 MB / 0.6215 GB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.6968, allocations: 257.8 kB / 0.6217 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002079/0.6988, allocations: 351.2 kB / 0.6221 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02602/0.7249, allocations: 12.3 MB / 0.6341 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/0.725, allocations: 49.95 kB / 0.6341 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000929/0.726, allocations: 163.7 kB / 0.6343 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004384/0.7304, allocations: 2.383 MB / 0.6366 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02673/0.7571, allocations: 10.7 MB / 0.647 GB, free: 1.129 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08159/0.8387, allocations: 48.65 MB / 0.6945 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/0.8558, allocations: 5.636 MB / 0.7 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004731/0.8606, allocations: 2.823 MB / 0.7028 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02302/0.8836, allocations: 13.02 MB / 0.7155 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.014e-05/0.8836, allocations: 59.86 kB / 0.7156 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=193): time 4.609e-06/0.8836, allocations: 3.656 kB / 0.7156 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of matching and sorting (n=254): time 0.1287/1.012, allocations: 38.92 MB / 0.7536 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/1.012, allocations: 205.9 kB / 0.7538 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008232/1.021, allocations: 4.389 MB / 0.7581 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008313/1.022, allocations: 69.7 kB / 0.7581 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003453/1.025, allocations: 3.562 MB / 0.7616 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002068/1.027, allocations: 0.9858 MB / 0.7626 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002938/1.03, allocations: 1.381 MB / 0.7639 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.03, allocations: 301.1 kB / 0.7642 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005817/1.036, allocations: 3.117 MB / 0.7673 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/1.046, allocations: 7.047 MB / 0.7741 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01743/1.064, allocations: 10.96 MB / 0.7849 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/1.064, allocations: 40 kB / 0.7849 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03106/1.095, allocations: 12.64 MB / 0.7972 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.095, allocations: 64 kB / 0.7973 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/1.095, allocations: 138.9 kB / 0.7974 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/1.106, allocations: 3.241 MB / 0.8006 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005938/1.112, allocations: 1.54 MB / 0.8021 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02733/1.139, allocations: 16.61 MB / 0.8183 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006954/1.146, allocations: 435.4 kB / 0.8187 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/1.147, allocations: 404 kB / 0.8191 GB, free: 12.37 MB / 0.6387 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.005747/1.153, allocations: 2.348 MB / 0.8214 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.154, allocations: 421.2 kB / 0.8218 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01722/1.171, allocations: 7.483 MB / 0.8291 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.336e-05/1.171, allocations: 24 kB / 0.8291 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/1.171, allocations: 16 kB / 0.8292 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.163e-05/1.172, allocations: 15.95 kB / 0.8292 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3262/1.498, allocations: 14.99 MB / 0.8438 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.636e-05/1.498, allocations: 1.062 kB / 0.8438 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/1.5, allocations: 383.3 kB / 0.8442 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009001/1.509, allocations: 2.93 MB / 0.847 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006803/1.51, allocations: 40.3 kB / 0.8471 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/1.529, allocations: 14.81 MB / 0.8615 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.529, allocations: 0 / 0.8615 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01913/1.548, allocations: 11.49 MB / 0.8728 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.549, allocations: 463.8 kB / 0.8732 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00078/1.55, allocations: 49.34 kB / 0.8733 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/1.552, allocations: 189.7 kB / 0.8734 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005867/1.553, allocations: 152.4 kB / 0.8736 GB, free: 204.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/1.553, allocations: 56 kB / 0.8736 GB, free: 204 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004458/1.558, allocations: 2.75 MB / 0.8763 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/1.558, allocations: 0 / 0.8763 GB, free: 201.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00716/1.565, allocations: 1.294 MB / 0.8776 GB, free: 200 MB / 0.6387 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.01772/1.582, allocations: 12.14 MB / 0.8894 GB, free: 188 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.594, allocations: 7.527 MB / 0.8968 GB, free: 180.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.594, allocations: 0 / 0.8968 GB, free: 180.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004154/1.598, allocations: 2.884 MB / 0.8996 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/1.601, allocations: 0.5097 MB / 0.9001 GB, free: 177.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08384/1.685, allocations: 60.68 MB / 0.9594 GB, free: 110.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003628/1.689, allocations: 3.668 MB / 0.9629 GB, free: 106.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004318/1.693, allocations: 2.172 MB / 0.9651 GB, free: 104.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00277/1.696, allocations: 2.21 MB / 0.9672 GB, free: 102.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/1.696, allocations: 4 kB / 0.9672 GB, free: 102.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1432/1.839, allocations: 94.93 MB / 1.06 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.89/32.73, allocations: 8.047 kB / 1.06 GB, free: 7.695 MB / 0.6387 GB " [Timeout remaining time 627] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 36.58182333398145]