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.000868/0.000868, allocations: 79.53 kB / 20.02 MB, free: 4.508 MB / 18.57 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.000907/0.000907, allocations: 169.9 kB / 23.32 MB, free: 1.207 MB / 18.57 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 0.9881/0.9881, allocations: 158.6 MB / 185.1 MB, free: 3 MB / 170.7 MB " [Timeout remaining time 179] 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.1392/0.1392, allocations: 32.37 MB / 269.7 MB, free: 14.93 MB / 266.7 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.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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 407.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.441e-05, allocations: 5.234 kB / 407.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.007842/0.007857, allocations: 10.53 MB / 417.6 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006339/0.0142, allocations: 4.193 MB / 421.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008785/0.01507, allocations: 83.62 kB / 421.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.01783, allocations: 2.822 MB / 424.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.02087, allocations: 2.185 MB / 426.9 MB, free: 9.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.02218, allocations: 1.111 MB / 428 MB, free: 8.387 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004139/0.02632, allocations: 5.785 MB / 433.8 MB, free: 2.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1949/0.2213, allocations: 3.39 MB / 437.2 MB, free: 17.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004034/0.2253, allocations: 2.727 MB / 439.9 MB, free: 17.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.2283, allocations: 2.754 MB / 442.7 MB, free: 17.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004819/0.2288, allocations: 378.8 kB / 443 MB, free: 17.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.2307, allocations: 1.38 MB / 444.4 MB, free: 17.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001691/0.2324, allocations: 2.386 MB / 446.8 MB, free: 17.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.2337, allocations: 1.533 MB / 448.3 MB, free: 16.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005463/0.2392, allocations: 8.428 MB / 456.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2392, allocations: 0 / 456.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2392, allocations: 0 / 456.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.74e-05/0.2393, allocations: 2.625 kB / 456.8 MB, free: 14.56 MB / 362.7 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.007161/0.2464, allocations: 6.058 MB / 462.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2465, allocations: 9.875 kB / 462.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005761/0.247, allocations: 0.7998 MB / 463.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03835/0.2854, allocations: 7.527 MB / 471.1 MB, free: 6.676 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006281/0.2917, allocations: 3.583 MB / 474.7 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.2918, allocations: 247.3 kB / 475 MB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005665/0.2923, allocations: 352.8 kB / 475.3 MB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.3057, allocations: 12.4 MB / 487.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.319e-05/0.3058, allocations: 55.44 kB / 487.8 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003123/0.3061, allocations: 165.6 kB / 487.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/0.3082, allocations: 2.38 MB / 490.3 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.3213, allocations: 10.7 MB / 0.4893 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03952/0.3608, allocations: 46.92 MB / 0.5351 GB, free: 9.141 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00874/0.3695, allocations: 5.355 MB / 0.5403 GB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002371/0.3719, allocations: 2.84 MB / 0.5431 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/0.3847, allocations: 11.61 MB / 0.5544 GB, free: 5.332 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.3848, allocations: 55.88 kB / 0.5545 GB, free: 5.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 4.198e-06/0.3848, allocations: 0 / 0.5545 GB, free: 5.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.06377/0.4485, allocations: 40.01 MB / 0.5936 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.05e-05/0.4486, allocations: 209.7 kB / 0.5938 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005266/0.4539, allocations: 5.071 MB / 0.5987 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001987/0.4541, allocations: 65.7 kB / 0.5988 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001495/0.4556, allocations: 3.537 MB / 0.6022 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006908/0.4563, allocations: 0.9716 MB / 0.6032 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/0.4578, allocations: 1.365 MB / 0.6045 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.717e-05/0.4579, allocations: 305.1 kB / 0.6048 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002966/0.4608, allocations: 3.121 MB / 0.6079 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/0.4656, allocations: 7.099 MB / 0.6148 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2292/0.6949, allocations: 10.96 MB / 0.6255 GB, free: 168.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001218/0.695, allocations: 38.38 kB / 0.6255 GB, free: 168.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01797/0.7129, allocations: 12.67 MB / 0.6379 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.943e-05/0.713, allocations: 62.91 kB / 0.638 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.513e-05/0.7131, allocations: 138 kB / 0.6381 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004887/0.718, allocations: 3.241 MB / 0.6413 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/0.7206, allocations: 1.551 MB / 0.6428 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/0.7334, allocations: 16.38 MB / 0.6588 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003583/0.7369, allocations: 0.5144 MB / 0.6593 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004116/0.7374, allocations: 411.4 kB / 0.6597 GB, free: 153.5 MB / 0.5105 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.003127/0.7405, allocations: 2.35 MB / 0.662 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/0.7411, allocations: 429.3 kB / 0.6624 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007735/0.7489, allocations: 7.477 MB / 0.6697 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.7489, allocations: 34.91 kB / 0.6697 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.7489, allocations: 13.64 kB / 0.6697 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.7489, allocations: 11.95 kB / 0.6697 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.7632, allocations: 14.52 MB / 0.6839 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.7632, allocations: 4 kB / 0.6839 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009195/0.7641, allocations: 383.4 kB / 0.6843 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004178/0.7683, allocations: 2.927 MB / 0.6871 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.7685, allocations: 36 kB / 0.6872 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.7799, allocations: 14.64 MB / 0.7015 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7799, allocations: 0 / 0.7015 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.7907, allocations: 11.47 MB / 0.7127 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/0.7924, allocations: 0.9343 MB / 0.7136 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004156/0.7928, allocations: 36 kB / 0.7136 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.7941, allocations: 275.5 kB / 0.7139 GB, free: 99.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/0.7945, allocations: 161.7 kB / 0.714 GB, free: 99.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.7946, allocations: 63.83 kB / 0.7141 GB, free: 99.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003037/0.7976, allocations: 3.087 MB / 0.7171 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.7976, allocations: 0 / 0.7171 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003927/0.8016, allocations: 1.482 MB / 0.7186 GB, free: 95.07 MB / 0.5105 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.01064/0.8122, allocations: 12.16 MB / 0.7304 GB, free: 82.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007659/0.8199, allocations: 7.531 MB / 0.7378 GB, free: 75.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8199, allocations: 4 kB / 0.7378 GB, free: 75.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002553/0.8224, allocations: 2.882 MB / 0.7406 GB, free: 72.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.8245, allocations: 0.5219 MB / 0.7411 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05872/0.8832, allocations: 62.18 MB / 0.8018 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/0.8857, allocations: 3.152 MB / 0.8049 GB, free: 308 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003694/0.8894, allocations: 2.2 MB / 0.8071 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002167/0.8915, allocations: 2.242 MB / 0.8093 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/0.8915, allocations: 0 / 0.8093 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2714/1.163, allocations: 99.79 MB / 0.9067 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/11.22, allocations: 3.938 kB / 0.9067 GB, free: 111.3 MB / 0.5261 GB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/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: 13.573919459246099]