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.001288/0.001288, allocations: 117.7 kB / 20.32 MB, free: 1.547 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.001417/0.001417, allocations: 207.3 kB / 23.6 MB, free: 4.945 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.454/1.454, allocations: 230.4 MB / 257.1 MB, free: 8.059 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.2379/0.2379, allocations: 46.92 MB / 360.5 MB, free: 4.191 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.002492/0.002492, allocations: 79.88 kB / 0.4958 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3385, allocations: 66.08 MB / 0.5603 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01673/0.3552, allocations: 11.91 MB / 0.572 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.3661, allocations: 4.416 MB / 0.5763 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.3682, allocations: 87.56 kB / 0.5764 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005672/0.3738, allocations: 2.799 MB / 0.5791 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00579/0.3796, allocations: 2.074 MB / 0.5811 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.382, allocations: 0.9983 MB / 0.5821 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008107/0.3901, allocations: 5.373 MB / 0.5874 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004936/0.3951, allocations: 2.892 MB / 0.5902 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.3988, allocations: 1.779 MB / 0.5919 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00469/0.4035, allocations: 2.64 MB / 0.5945 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00135/0.4048, allocations: 368 kB / 0.5948 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.4081, allocations: 1.311 MB / 0.5961 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003736/0.4119, allocations: 2.248 MB / 0.5983 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006032/0.4179, allocations: 2.552 MB / 0.6008 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.432, allocations: 8.253 MB / 0.6089 GB, free: 2.406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.4321, allocations: 3.984 kB / 0.6089 GB, free: 2.402 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4321, allocations: 0 / 0.6089 GB, free: 2.402 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003175/0.4324, allocations: 8 kB / 0.6089 GB, free: 2.395 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.01899/0.4514, allocations: 5.944 MB / 0.6147 GB, free: 12.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4514, allocations: 12.03 kB / 0.6147 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002052/0.4535, allocations: 0.7985 MB / 0.6155 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07965/0.5331, allocations: 7.242 MB / 0.6226 GB, free: 4.309 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00876/0.5419, allocations: 3.553 MB / 0.626 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003342/0.5422, allocations: 257.5 kB / 0.6263 GB, free: 460 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/0.5439, allocations: 339.8 kB / 0.6266 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02472/0.5686, allocations: 12.39 MB / 0.6387 GB, free: 2.895 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/0.5687, allocations: 63.52 kB / 0.6388 GB, free: 2.832 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004811/0.5692, allocations: 159.8 kB / 0.6389 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00391/0.5731, allocations: 2.377 MB / 0.6412 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02275/0.5959, allocations: 10.71 MB / 0.6517 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0699/0.6658, allocations: 48.39 MB / 0.6989 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/0.6811, allocations: 5.185 MB / 0.704 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00444/0.6855, allocations: 2.842 MB / 0.7068 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02165/0.7072, allocations: 11.87 MB / 0.7184 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.7072, allocations: 51.88 kB / 0.7184 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=193): time 4.578e-06/0.7072, allocations: 0 / 0.7184 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=254): time 0.3571/1.064, allocations: 38.58 MB / 0.7561 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/1.064, allocations: 205.9 kB / 0.7563 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004654/1.069, allocations: 4.393 MB / 0.7606 GB, free: 144 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004722/1.07, allocations: 65.53 kB / 0.7607 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001504/1.071, allocations: 3.563 MB / 0.7641 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008312/1.072, allocations: 0.9867 MB / 0.7651 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/1.073, allocations: 1.376 MB / 0.7664 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.792e-05/1.073, allocations: 309 kB / 0.7667 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003459/1.077, allocations: 3.113 MB / 0.7698 GB, free: 135 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005404/1.082, allocations: 7.093 MB / 0.7767 GB, free: 126 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.093, allocations: 10.96 MB / 0.7874 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.427e-05/1.093, allocations: 43.94 kB / 0.7874 GB, free: 113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02069/1.113, allocations: 12.65 MB / 0.7998 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.113, allocations: 64 kB / 0.7999 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/1.114, allocations: 140.6 kB / 0.8 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008122/1.122, allocations: 3.235 MB / 0.8032 GB, free: 96.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004967/1.127, allocations: 1.548 MB / 0.8047 GB, free: 95.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/1.146, allocations: 16.49 MB / 0.8208 GB, free: 78.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005629/1.151, allocations: 439 kB / 0.8212 GB, free: 78.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.153, allocations: 406.2 kB / 0.8216 GB, free: 77.99 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.004125/1.157, allocations: 2.349 MB / 0.8239 GB, free: 75.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.158, allocations: 429.1 kB / 0.8243 GB, free: 75.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.172, allocations: 7.479 MB / 0.8316 GB, free: 67.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.484e-05/1.172, allocations: 24 kB / 0.8316 GB, free: 67.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.385e-05/1.172, allocations: 16 kB / 0.8316 GB, free: 67.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.833e-05/1.172, allocations: 11.95 kB / 0.8316 GB, free: 67.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02748/1.199, allocations: 14.97 MB / 0.8462 GB, free: 52.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/1.199, allocations: 0 / 0.8462 GB, free: 52.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/1.201, allocations: 379.4 kB / 0.8466 GB, free: 52.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007747/1.209, allocations: 2.923 MB / 0.8495 GB, free: 49.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005506/1.209, allocations: 43.94 kB / 0.8495 GB, free: 49.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/1.227, allocations: 14.72 MB / 0.8639 GB, free: 34.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.227, allocations: 4 kB / 0.8639 GB, free: 34.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/1.245, allocations: 11.48 MB / 0.8751 GB, free: 22.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.246, allocations: 389.1 kB / 0.8755 GB, free: 22.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/1.247, allocations: 39.98 kB / 0.8755 GB, free: 22.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002476/1.25, allocations: 187.7 kB / 0.8757 GB, free: 22.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006133/1.25, allocations: 157.7 kB / 0.8758 GB, free: 22.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/1.251, allocations: 64 kB / 0.8759 GB, free: 22.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004038/1.255, allocations: 2.742 MB / 0.8786 GB, free: 19.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.255, allocations: 4 kB / 0.8786 GB, free: 19.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005855/1.261, allocations: 1.296 MB / 0.8798 GB, free: 18.05 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.01704/1.278, allocations: 12.14 MB / 0.8917 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01172/1.289, allocations: 7.527 MB / 0.899 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.289, allocations: 0 / 0.899 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005531/1.295, allocations: 2.886 MB / 0.9019 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/1.298, allocations: 0.5104 MB / 0.9024 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1118/1.41, allocations: 60.75 MB / 0.9617 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004812/1.415, allocations: 3.135 MB / 0.9648 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005227/1.42, allocations: 2.169 MB / 0.9669 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003664/1.424, allocations: 2.214 MB / 0.969 GB, free: 332 kB / 0.6387 GB Notification: Performance of SimCode: time 1.283e-06/1.424, allocations: 0 / 0.969 GB, free: 332 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4154/1.839, allocations: 100.8 MB / 1.068 GB, free: 163.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.97/31.81, allocations: 4.062 kB / 1.068 GB, free: 163.9 MB / 0.6544 GB " [Timeout remaining time 628] (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: 34.993562693707645]