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.001223/0.001223, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009527/0.0009527, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9297/0.9297, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2431/0.2431, allocations: 32.8 MB / 293.5 MB, free: 1.215 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 3.984 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.152e-05, allocations: 3.688 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2027/0.2027, allocations: 10.46 MB / 450.1 MB, free: 40.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00654/0.2093, allocations: 4.18 MB / 454.2 MB, free: 38.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.211, allocations: 83.97 kB / 454.3 MB, free: 38.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.2139, allocations: 2.832 MB / 457.2 MB, free: 37.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.2178, allocations: 2.126 MB / 459.3 MB, free: 36.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.2194, allocations: 1.113 MB / 460.4 MB, free: 35.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005429/0.2248, allocations: 6.094 MB / 466.5 MB, free: 33.47 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003585/0.2284, allocations: 3.377 MB / 469.9 MB, free: 32.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004142/0.2326, allocations: 2.696 MB / 472.6 MB, free: 30.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003489/0.2361, allocations: 2.742 MB / 475.3 MB, free: 30.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008423/0.2369, allocations: 381.9 kB / 475.7 MB, free: 30.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.239, allocations: 1.358 MB / 477 MB, free: 29.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001614/0.2406, allocations: 2.339 MB / 479.4 MB, free: 28.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002525/0.2431, allocations: 1.504 MB / 480.9 MB, free: 28.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.2546, allocations: 8.346 MB / 489.2 MB, free: 25.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.2546, allocations: 0 / 489.2 MB, free: 25.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.2546, allocations: 1.125 kB / 489.2 MB, free: 25.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003393/0.2549, allocations: 0 / 489.2 MB, free: 25.33 MB / 410.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.01832/0.2732, allocations: 6.017 MB / 495.2 MB, free: 22.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.2733, allocations: 8.406 kB / 495.2 MB, free: 22.13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002856/0.2761, allocations: 0.7925 MB / 496 MB, free: 21.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04269/0.3188, allocations: 7.525 MB / 0.4918 GB, free: 18.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008209/0.327, allocations: 3.225 MB / 0.4949 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003298/0.3274, allocations: 255.5 kB / 0.4952 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002433/0.3298, allocations: 350.6 kB / 0.4955 GB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0179/0.3477, allocations: 12.41 MB / 0.5076 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.3478, allocations: 59.53 kB / 0.5077 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004178/0.3482, allocations: 159.8 kB / 0.5078 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00208/0.3503, allocations: 2.382 MB / 0.5101 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/0.3642, allocations: 10.7 MB / 0.5206 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03755/0.4018, allocations: 46.67 MB / 0.5662 GB, free: 6.426 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008371/0.4101, allocations: 5.365 MB / 0.5714 GB, free: 1.023 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.4127, allocations: 2.842 MB / 0.5742 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01195/0.4246, allocations: 11.57 MB / 0.5855 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.4247, allocations: 55.88 kB / 0.5855 GB, free: 2.508 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 3.958e-06/0.4247, allocations: 0 / 0.5855 GB, free: 2.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.06547/0.4901, allocations: 39.79 MB / 0.6244 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.4902, allocations: 213.8 kB / 0.6246 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005712/0.4959, allocations: 4.952 MB / 0.6294 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002433/0.4962, allocations: 61.7 kB / 0.6295 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001929/0.4981, allocations: 3.536 MB / 0.6329 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007648/0.4989, allocations: 0.9728 MB / 0.6339 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2062/0.7051, allocations: 1.355 MB / 0.6352 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.7052, allocations: 305.5 kB / 0.6355 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003783/0.7089, allocations: 3.128 MB / 0.6386 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004632/0.7136, allocations: 7.104 MB / 0.6455 GB, free: 150.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009141/0.7227, allocations: 10.97 MB / 0.6562 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001428/0.7229, allocations: 43.44 kB / 0.6563 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01986/0.7427, allocations: 12.66 MB / 0.6686 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.7428, allocations: 65.66 kB / 0.6687 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/0.743, allocations: 136.5 kB / 0.6688 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007031/0.7501, allocations: 3.244 MB / 0.672 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004957/0.755, allocations: 1.539 MB / 0.6735 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/0.7721, allocations: 16.38 MB / 0.6895 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006206/0.7783, allocations: 0.5105 MB / 0.69 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/0.7797, allocations: 408 kB / 0.6904 GB, free: 130.5 MB / 0.5261 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.005619/0.7853, allocations: 2.343 MB / 0.6927 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/0.7864, allocations: 425.5 kB / 0.6931 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009392/0.7958, allocations: 7.488 MB / 0.7004 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.112e-05/0.7959, allocations: 24 kB / 0.7004 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.7959, allocations: 12 kB / 0.7004 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.404e-05/0.7959, allocations: 12.72 kB / 0.7004 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/0.8146, allocations: 14.48 MB / 0.7146 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.791e-05/0.8146, allocations: 7.375 kB / 0.7146 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.816, allocations: 381.1 kB / 0.7149 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004843/0.8208, allocations: 2.915 MB / 0.7178 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004296/0.8213, allocations: 54.69 kB / 0.7178 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/0.8338, allocations: 14.63 MB / 0.7321 GB, free: 95.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.8338, allocations: 3.938 kB / 0.7321 GB, free: 95.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/0.8457, allocations: 11.48 MB / 0.7433 GB, free: 83.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/0.8471, allocations: 445 kB / 0.7438 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007352/0.8478, allocations: 42.62 kB / 0.7438 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/0.8493, allocations: 255.6 kB / 0.744 GB, free: 82.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/0.8497, allocations: 161.6 kB / 0.7442 GB, free: 82.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/0.8499, allocations: 64 kB / 0.7443 GB, free: 82.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00379/0.8536, allocations: 3.008 MB / 0.7472 GB, free: 79.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8536, allocations: 0 / 0.7472 GB, free: 79.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007403/0.861, allocations: 1.455 MB / 0.7486 GB, free: 78.21 MB / 0.5261 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.01279/0.8738, allocations: 12.16 MB / 0.7605 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009341/0.8832, allocations: 7.532 MB / 0.7678 GB, free: 58.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.8832, allocations: 0 / 0.7678 GB, free: 58.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002981/0.8862, allocations: 2.886 MB / 0.7707 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/0.8889, allocations: 0.5117 MB / 0.7712 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08151/0.9704, allocations: 61.73 MB / 0.8314 GB, free: 3.117 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003791/0.9742, allocations: 3.142 MB / 0.8345 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003875/0.9781, allocations: 2.183 MB / 0.8366 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003399/0.9815, allocations: 2.23 MB / 0.8388 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of SimCode: time 1.342e-06/0.9815, allocations: 0 / 0.8388 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3098/1.291, allocations: 98.75 MB / 0.9353 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/11.61, allocations: 7.844 kB / 0.9353 GB, free: 125.4 MB / 0.5573 GB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/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: 13.806612684391439]