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.00135/0.00135, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.001554/0.001554, allocations: 201.2 kB / 24.52 MB, free: 4.156 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2275/0.2275, allocations: 44.91 MB / 359.6 MB, free: 6.285 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="cs",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.002092/0.002092, allocations: 67.89 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3089, allocations: 65.48 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01581/0.3247, allocations: 12.02 MB / 0.5695 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.3361, allocations: 4.431 MB / 0.5739 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/0.3387, allocations: 91.56 kB / 0.574 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006291/0.345, allocations: 2.791 MB / 0.5767 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006144/0.3511, allocations: 2.07 MB / 0.5787 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.3537, allocations: 1.006 MB / 0.5797 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008288/0.362, allocations: 5.377 MB / 0.5849 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004456/0.3665, allocations: 2.888 MB / 0.5878 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/0.3697, allocations: 1.783 MB / 0.5895 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004403/0.3741, allocations: 2.636 MB / 0.5921 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.3753, allocations: 368 kB / 0.5924 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.3783, allocations: 1.455 MB / 0.5939 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00287/0.3812, allocations: 2.248 MB / 0.596 GB, free: 440 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004156/0.3854, allocations: 2.552 MB / 0.5985 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.3965, allocations: 8.214 MB / 0.6066 GB, free: 5.617 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3965, allocations: 0 / 0.6066 GB, free: 5.617 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3965, allocations: 4 kB / 0.6066 GB, free: 5.613 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002557/0.3967, allocations: 0 / 0.6066 GB, free: 5.613 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.01717/0.4139, allocations: 5.953 MB / 0.6124 GB, free: 15.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.414, allocations: 8.031 kB / 0.6124 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000174/0.4141, allocations: 126.8 kB / 0.6125 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002155/0.4163, allocations: 0.7906 MB / 0.6133 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09779/0.5141, allocations: 7.246 MB / 0.6204 GB, free: 7.402 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008778/0.5229, allocations: 3.529 MB / 0.6238 GB, free: 3.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.5231, allocations: 255.4 kB / 0.624 GB, free: 3.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.5243, allocations: 351.7 kB / 0.6244 GB, free: 3.227 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02714/0.5515, allocations: 12.29 MB / 0.6364 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002977/0.5518, allocations: 55.56 kB / 0.6364 GB, free: 6.074 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001405/0.5532, allocations: 167.8 kB / 0.6366 GB, free: 5.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004853/0.558, allocations: 2.369 MB / 0.6389 GB, free: 3.539 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0266/0.5846, allocations: 10.71 MB / 0.6494 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07399/0.6586, allocations: 48.54 MB / 0.6968 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0166/0.6752, allocations: 5.18 MB / 0.7018 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004459/0.6797, allocations: 2.853 MB / 0.7046 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02227/0.7019, allocations: 11.87 MB / 0.7162 GB, free: 2.859 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.194e-05/0.702, allocations: 55.81 kB / 0.7163 GB, free: 2.797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 4.729e-06/0.702, allocations: 4 kB / 0.7163 GB, free: 2.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.3942/1.096, allocations: 38.47 MB / 0.7538 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/1.096, allocations: 213.5 kB / 0.754 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005845/1.102, allocations: 4.392 MB / 0.7583 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007304/1.103, allocations: 65.7 kB / 0.7584 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002078/1.105, allocations: 3.559 MB / 0.7619 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/1.106, allocations: 0.9859 MB / 0.7628 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002233/1.109, allocations: 1.377 MB / 0.7642 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.615e-05/1.109, allocations: 301.1 kB / 0.7644 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/1.112, allocations: 3.125 MB / 0.7675 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005496/1.118, allocations: 7.039 MB / 0.7744 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009505/1.127, allocations: 10.95 MB / 0.7851 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001024/1.127, allocations: 40 kB / 0.7851 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02326/1.151, allocations: 12.66 MB / 0.7975 GB, free: 107 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/1.151, allocations: 64 kB / 0.7975 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002058/1.151, allocations: 136 kB / 0.7977 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009099/1.16, allocations: 3.239 MB / 0.8008 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005396/1.166, allocations: 1.54 MB / 0.8023 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02194/1.188, allocations: 16.5 MB / 0.8184 GB, free: 85.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005583/1.193, allocations: 439.4 kB / 0.8189 GB, free: 84.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.194, allocations: 407.2 kB / 0.8192 GB, free: 84.57 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.004843/1.199, allocations: 2.356 MB / 0.8215 GB, free: 82.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.2, allocations: 421.2 kB / 0.8219 GB, free: 81.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/1.215, allocations: 7.479 MB / 0.8292 GB, free: 74.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.826e-05/1.215, allocations: 24 kB / 0.8293 GB, free: 74.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.214e-05/1.215, allocations: 15.19 kB / 0.8293 GB, free: 74.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-05/1.215, allocations: 11.95 kB / 0.8293 GB, free: 74.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03205/1.248, allocations: 14.97 MB / 0.8439 GB, free: 59.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.556e-05/1.248, allocations: 0 / 0.8439 GB, free: 59.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/1.25, allocations: 375.5 kB / 0.8443 GB, free: 58.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008307/1.258, allocations: 2.934 MB / 0.8471 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005661/1.258, allocations: 39.94 kB / 0.8472 GB, free: 55.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01943/1.278, allocations: 14.72 MB / 0.8616 GB, free: 41.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.278, allocations: 4 kB / 0.8616 GB, free: 41.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02182/1.3, allocations: 11.47 MB / 0.8728 GB, free: 29.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/1.301, allocations: 393 kB / 0.8731 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0018/1.303, allocations: 43.83 kB / 0.8732 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/1.306, allocations: 187.7 kB / 0.8734 GB, free: 28.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009664/1.307, allocations: 157.7 kB / 0.8735 GB, free: 28.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000433/1.308, allocations: 56 kB / 0.8736 GB, free: 28.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004588/1.312, allocations: 2.75 MB / 0.8762 GB, free: 25.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.312, allocations: 0 / 0.8762 GB, free: 25.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006457/1.319, allocations: 1.289 MB / 0.8775 GB, free: 24.64 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.01971/1.339, allocations: 12.16 MB / 0.8894 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.351, allocations: 7.508 MB / 0.8967 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.351, allocations: 4 kB / 0.8967 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005214/1.356, allocations: 2.894 MB / 0.8995 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/1.361, allocations: 0.517 MB / 0.9 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1357/1.497, allocations: 60.74 MB / 0.9594 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00732/1.504, allocations: 3.673 MB / 0.963 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006592/1.511, allocations: 2.169 MB / 0.9651 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004772/1.516, allocations: 2.214 MB / 0.9672 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of SimCode: time 1.593e-06/1.516, allocations: 0 / 0.9672 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4069/1.923, allocations: 100.9 MB / 1.066 GB, free: 145.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.64/34.57, allocations: 7.562 kB / 1.066 GB, free: 145.2 MB / 0.6387 GB " [Timeout remaining time 625] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 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.mat","/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: 38.825369742000476]