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.002113/0.002113, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002479/0.002479, allocations: 226.9 kB / 23.01 MB, free: 5.039 MB / 14.72 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 1.524/1.524, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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.2321/0.2321, allocations: 44.24 MB / 330.3 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003362/0.003362, allocations: 79.88 kB / 467.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1673, allocations: 61.04 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01929/0.1866, allocations: 12.12 MB / 0.528 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.1991, allocations: 4.427 MB / 0.5323 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00301/0.2021, allocations: 83.62 kB / 0.5324 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007931/0.2101, allocations: 2.811 MB / 0.5351 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008532/0.2186, allocations: 2.093 MB / 0.5372 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.2223, allocations: 1.014 MB / 0.5382 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2788/0.5012, allocations: 5.132 MB / 0.5432 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004518/0.5057, allocations: 2.895 MB / 0.546 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.5097, allocations: 1.792 MB / 0.5478 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005376/0.5151, allocations: 2.663 MB / 0.5504 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001533/0.5167, allocations: 367.2 kB / 0.5507 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.5203, allocations: 1.458 MB / 0.5521 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003032/0.5234, allocations: 2.278 MB / 0.5544 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003295/0.5267, allocations: 2.586 MB / 0.5569 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.5375, allocations: 8.313 MB / 0.565 GB, free: 4.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5375, allocations: 0 / 0.565 GB, free: 4.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5375, allocations: 4 kB / 0.565 GB, free: 4.426 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002511/0.5378, allocations: 1.156 kB / 0.565 GB, free: 4.426 MB / 414.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.01693/0.5547, allocations: 5.992 MB / 0.5709 GB, free: 456 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.5548, allocations: 9.406 kB / 0.5709 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001591/0.5564, allocations: 0.8055 MB / 0.5717 GB, free: 0 / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07981/0.6362, allocations: 7.248 MB / 0.5787 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009985/0.6461, allocations: 4.068 MB / 0.5827 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.6464, allocations: 257.6 kB / 0.5829 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/0.648, allocations: 346 kB / 0.5833 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/0.677, allocations: 12.29 MB / 0.5953 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003503/0.6773, allocations: 49.27 kB / 0.5953 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001799/0.6791, allocations: 171.2 kB / 0.5955 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00449/0.6836, allocations: 2.375 MB / 0.5978 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02623/0.7098, allocations: 10.71 MB / 0.6083 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0784/0.7882, allocations: 48.57 MB / 0.6557 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01621/0.8044, allocations: 5.188 MB / 0.6608 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005114/0.8096, allocations: 2.841 MB / 0.6635 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02586/0.8354, allocations: 11.88 MB / 0.6751 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.965e-05/0.8355, allocations: 59.88 kB / 0.6752 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=193): time 6.041e-06/0.8355, allocations: 0 / 0.6752 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.1278/0.9633, allocations: 38.6 MB / 0.7129 GB, free: 5.707 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.9635, allocations: 205.9 kB / 0.7131 GB, free: 5.461 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008982/0.9725, allocations: 4.43 MB / 0.7174 GB, free: 1.012 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000844/0.9733, allocations: 65.7 kB / 0.7175 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003953/0.9773, allocations: 3.571 MB / 0.721 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002027/0.9793, allocations: 0.9918 MB / 0.7219 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004305/0.9836, allocations: 1.374 MB / 0.7233 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9837, allocations: 301.1 kB / 0.7236 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005818/0.9895, allocations: 3.121 MB / 0.7266 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009678/0.9992, allocations: 7.042 MB / 0.7335 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01664/1.016, allocations: 10.97 MB / 0.7442 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001988/1.016, allocations: 40 kB / 0.7442 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03298/1.049, allocations: 12.64 MB / 0.7566 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/1.049, allocations: 67.94 kB / 0.7567 GB, free: 5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002546/1.049, allocations: 140 kB / 0.7568 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/1.06, allocations: 3.243 MB / 0.76 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006762/1.066, allocations: 1.528 MB / 0.7614 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2884/1.355, allocations: 16.49 MB / 0.7776 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005861/1.361, allocations: 429.5 kB / 0.778 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/1.362, allocations: 406.1 kB / 0.7784 GB, free: 186.4 MB / 0.5919 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.005508/1.368, allocations: 2.35 MB / 0.7806 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/1.369, allocations: 429.4 kB / 0.7811 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/1.386, allocations: 7.486 MB / 0.7884 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.982e-05/1.386, allocations: 36.02 kB / 0.7884 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.143e-05/1.386, allocations: 10.28 kB / 0.7884 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-05/1.386, allocations: 12.03 kB / 0.7884 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02873/1.414, allocations: 14.99 MB / 0.8031 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/1.414, allocations: 1.5 kB / 0.8031 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/1.416, allocations: 376.5 kB / 0.8034 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007696/1.424, allocations: 2.927 MB / 0.8063 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004217/1.424, allocations: 47.83 kB / 0.8063 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/1.442, allocations: 14.71 MB / 0.8207 GB, free: 166.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.442, allocations: 7.406 kB / 0.8207 GB, free: 166.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/1.46, allocations: 11.48 MB / 0.8319 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/1.463, allocations: 0.8707 MB / 0.8328 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/1.464, allocations: 36 kB / 0.8328 GB, free: 154.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/1.467, allocations: 202.6 kB / 0.833 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006681/1.468, allocations: 149.7 kB / 0.8331 GB, free: 154 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002985/1.468, allocations: 67.98 kB / 0.8332 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005236/1.473, allocations: 2.767 MB / 0.8359 GB, free: 151.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.473, allocations: 6.812 kB / 0.8359 GB, free: 151.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007512/1.481, allocations: 1.32 MB / 0.8372 GB, free: 149.8 MB / 0.5919 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.01833/1.499, allocations: 12.13 MB / 0.849 GB, free: 137.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.511, allocations: 7.521 MB / 0.8564 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/1.511, allocations: 0 / 0.8564 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004432/1.515, allocations: 2.892 MB / 0.8592 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004519/1.52, allocations: 0.5243 MB / 0.8597 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08967/1.61, allocations: 60.96 MB / 0.9193 GB, free: 59.67 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004453/1.614, allocations: 3.679 MB / 0.9228 GB, free: 55.97 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004726/1.619, allocations: 2.168 MB / 0.925 GB, free: 53.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003484/1.622, allocations: 2.225 MB / 0.9271 GB, free: 51.58 MB / 0.5919 GB Notification: Performance of SimCode: time 1.352e-06/1.622, allocations: 4 kB / 0.9271 GB, free: 51.58 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4027/2.025, allocations: 101.2 MB / 1.026 GB, free: 199.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.37/32.39, allocations: 5.719 kB / 1.026 GB, free: 199.4 MB / 0.6075 GB " [Timeout remaining time 627] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/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: 36.25602329801768]