Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001657/0.001657, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.002269/0.002269, allocations: 216.3 kB / 24.53 MB, free: 4.066 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.631/1.631, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2416/0.2416, allocations: 46.94 MB / 361.6 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 67.89 kB / 0.4969 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4079, allocations: 66.03 MB / 0.5614 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.0157/0.4236, allocations: 12.03 MB / 0.5732 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.4353, allocations: 4.43 MB / 0.5775 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.438, allocations: 83.62 kB / 0.5776 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006433/0.4444, allocations: 2.807 MB / 0.5803 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.451, allocations: 2.062 MB / 0.5823 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.4538, allocations: 1.002 MB / 0.5833 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009448/0.4633, allocations: 5.381 MB / 0.5886 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006155/0.4694, allocations: 2.888 MB / 0.5914 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/0.4741, allocations: 1.772 MB / 0.5931 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006178/0.4803, allocations: 2.644 MB / 0.5957 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001806/0.4821, allocations: 368 kB / 0.5961 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003865/0.486, allocations: 1.451 MB / 0.5975 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003628/0.4896, allocations: 2.244 MB / 0.5997 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004917/0.4945, allocations: 2.559 MB / 0.6022 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.5076, allocations: 8.218 MB / 0.6102 GB, free: 2.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5076, allocations: 0 / 0.6102 GB, free: 2.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5076, allocations: 0 / 0.6102 GB, free: 2.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003264/0.508, allocations: 0 / 0.6102 GB, free: 2.328 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.01882/0.5268, allocations: 5.951 MB / 0.616 GB, free: 12.31 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.5268, allocations: 12.03 kB / 0.616 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001637/0.527, allocations: 114.8 kB / 0.6161 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002423/0.5294, allocations: 0.7907 MB / 0.6169 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08911/0.6185, allocations: 7.25 MB / 0.624 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008972/0.6275, allocations: 3.529 MB / 0.6274 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/0.6278, allocations: 261.8 kB / 0.6277 GB, free: 288 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.6295, allocations: 347.8 kB / 0.628 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02646/0.656, allocations: 12.28 MB / 0.64 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000226/0.6562, allocations: 63.53 kB / 0.64 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001234/0.6574, allocations: 159.8 kB / 0.6402 GB, free: 2.633 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004287/0.6617, allocations: 2.389 MB / 0.6425 GB, free: 248 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0232/0.6849, allocations: 10.69 MB / 0.653 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06553/0.7504, allocations: 48.54 MB / 0.7004 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01631/0.7668, allocations: 5.183 MB / 0.7054 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004552/0.7713, allocations: 2.849 MB / 0.7082 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02377/0.7951, allocations: 11.86 MB / 0.7198 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/0.7951, allocations: 59.88 kB / 0.7199 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=193): time 5.39e-06/0.7951, allocations: 0 / 0.7199 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=254): time 0.3934/1.188, allocations: 38.48 MB / 0.7574 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/1.189, allocations: 213.9 kB / 0.7576 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005648/1.194, allocations: 4.384 MB / 0.7619 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006367/1.195, allocations: 65.7 kB / 0.762 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001785/1.197, allocations: 3.563 MB / 0.7655 GB, free: 141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.198, allocations: 0.9976 MB / 0.7664 GB, free: 140 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/1.199, allocations: 1.37 MB / 0.7678 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/1.199, allocations: 309.1 kB / 0.7681 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003626/1.203, allocations: 3.117 MB / 0.7711 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005504/1.209, allocations: 7.04 MB / 0.778 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/1.219, allocations: 10.96 MB / 0.7887 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-05/1.219, allocations: 40 kB / 0.7887 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02302/1.242, allocations: 12.65 MB / 0.8011 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.075e-05/1.242, allocations: 64 kB / 0.8011 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/1.243, allocations: 140 kB / 0.8013 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008363/1.251, allocations: 3.243 MB / 0.8044 GB, free: 97.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005049/1.256, allocations: 1.532 MB / 0.8059 GB, free: 95.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/1.276, allocations: 16.5 MB / 0.8221 GB, free: 79.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006005/1.282, allocations: 427.5 kB / 0.8225 GB, free: 78.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009218/1.283, allocations: 411.8 kB / 0.8229 GB, free: 78.27 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.003592/1.286, allocations: 2.345 MB / 0.8251 GB, free: 75.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009371/1.287, allocations: 425.1 kB / 0.8256 GB, free: 75.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/1.3, allocations: 7.483 MB / 0.8329 GB, free: 68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/1.3, allocations: 32 kB / 0.8329 GB, free: 67.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.3, allocations: 8 kB / 0.8329 GB, free: 67.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.197e-05/1.3, allocations: 15.95 kB / 0.8329 GB, free: 67.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02382/1.324, allocations: 14.97 MB / 0.8475 GB, free: 52.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/1.324, allocations: 0 / 0.8475 GB, free: 52.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/1.326, allocations: 375.5 kB / 0.8479 GB, free: 52.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007813/1.334, allocations: 2.934 MB / 0.8508 GB, free: 49.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005442/1.335, allocations: 44 kB / 0.8508 GB, free: 49.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01781/1.352, allocations: 14.72 MB / 0.8652 GB, free: 34.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.352, allocations: 7.938 kB / 0.8652 GB, free: 34.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/1.37, allocations: 11.47 MB / 0.8764 GB, free: 23.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/1.372, allocations: 389.1 kB / 0.8768 GB, free: 22.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007518/1.373, allocations: 39.94 kB / 0.8768 GB, free: 22.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/1.375, allocations: 195.2 kB / 0.877 GB, free: 22.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005511/1.375, allocations: 157.6 kB / 0.8771 GB, free: 22.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/1.375, allocations: 67.98 kB / 0.8772 GB, free: 22.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00354/1.379, allocations: 2.746 MB / 0.8799 GB, free: 19.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.379, allocations: 0 / 0.8799 GB, free: 19.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00595/1.385, allocations: 1.293 MB / 0.8811 GB, free: 18.32 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.01793/1.403, allocations: 12.13 MB / 0.893 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01167/1.415, allocations: 7.526 MB / 0.9003 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.415, allocations: 0 / 0.9003 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005549/1.42, allocations: 2.886 MB / 0.9032 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/1.424, allocations: 0.505 MB / 0.9036 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1272/1.551, allocations: 60.77 MB / 0.963 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005634/1.557, allocations: 3.661 MB / 0.9666 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005273/1.562, allocations: 2.176 MB / 0.9687 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00393/1.566, allocations: 2.218 MB / 0.9709 GB, free: 64 kB / 0.6387 GB Notification: Performance of SimCode: time 1.302e-06/1.566, allocations: 0 / 0.9709 GB, free: 64 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4657/2.031, allocations: 100.9 MB / 1.069 GB, free: 163.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.68/32.71, allocations: 15.55 kB / 1.069 GB, free: 163.6 MB / 0.6544 GB " [Timeout remaining time 627] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/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_4.1.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: 37.20439378899755]