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.00187/0.00187, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002496/0.002496, allocations: 215.8 kB / 24.51 MB, free: 3.914 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.517/1.517, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.232/0.232, allocations: 46.95 MB / 361.7 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] 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.002257/0.002257, allocations: 67.91 kB / 0.4969 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3676, allocations: 66.03 MB / 0.5614 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01358/0.3812, allocations: 10.41 MB / 0.5715 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.392, allocations: 4.167 MB / 0.5756 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.3942, allocations: 83.56 kB / 0.5757 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005985/0.4002, allocations: 2.694 MB / 0.5783 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006233/0.4064, allocations: 2.062 MB / 0.5803 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.409, allocations: 1.014 MB / 0.5813 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008375/0.4174, allocations: 5.37 MB / 0.5865 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004439/0.4218, allocations: 2.884 MB / 0.5894 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.4252, allocations: 1.779 MB / 0.5911 GB, free: 5.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004799/0.43, allocations: 2.648 MB / 0.5937 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001508/0.4315, allocations: 364 kB / 0.594 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003792/0.4353, allocations: 1.318 MB / 0.5953 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003539/0.4388, allocations: 2.248 MB / 0.5975 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004198/0.443, allocations: 1.903 MB / 0.5994 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.4563, allocations: 8.257 MB / 0.6074 GB, free: 4.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4563, allocations: 0 / 0.6074 GB, free: 4.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4563, allocations: 4 kB / 0.6074 GB, free: 4.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003439/0.4566, allocations: 3.938 kB / 0.6074 GB, free: 4.801 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.01903/0.4757, allocations: 5.942 MB / 0.6132 GB, free: 14.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.4757, allocations: 16.03 kB / 0.6133 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001781/0.4759, allocations: 110.8 kB / 0.6134 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002081/0.478, allocations: 0.7984 MB / 0.6141 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08104/0.559, allocations: 7.242 MB / 0.6212 GB, free: 6.605 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/0.5704, allocations: 3.545 MB / 0.6247 GB, free: 3.008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/0.5707, allocations: 259.4 kB / 0.6249 GB, free: 2.754 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/0.5726, allocations: 347.7 kB / 0.6253 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02831/0.6009, allocations: 12.39 MB / 0.6374 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001939/0.6011, allocations: 51.58 kB / 0.6374 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007848/0.6019, allocations: 167.8 kB / 0.6376 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004546/0.6064, allocations: 2.381 MB / 0.6399 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/0.6312, allocations: 10.69 MB / 0.6503 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07418/0.7054, allocations: 46.35 MB / 0.6956 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01686/0.7223, allocations: 5.177 MB / 0.7006 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004775/0.727, allocations: 2.838 MB / 0.7034 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02349/0.7505, allocations: 11.29 MB / 0.7144 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.546e-05/0.7506, allocations: 55.88 kB / 0.7145 GB, free: 4.793 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 6.162e-06/0.7506, allocations: 0 / 0.7145 GB, free: 4.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.4014/1.152, allocations: 38.58 MB / 0.7522 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/1.152, allocations: 211.4 kB / 0.7524 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005436/1.158, allocations: 4.395 MB / 0.7567 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006138/1.158, allocations: 61.7 kB / 0.7567 GB, free: 149 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001681/1.16, allocations: 3.566 MB / 0.7602 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/1.161, allocations: 0.991 MB / 0.7612 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001947/1.163, allocations: 1.377 MB / 0.7625 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.271e-05/1.163, allocations: 301.1 kB / 0.7628 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003781/1.167, allocations: 3.11 MB / 0.7658 GB, free: 140 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008188/1.175, allocations: 7.095 MB / 0.7728 GB, free: 131 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/1.188, allocations: 10.96 MB / 0.7835 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001597/1.188, allocations: 36 kB / 0.7835 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02186/1.21, allocations: 12.65 MB / 0.7959 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.633e-05/1.21, allocations: 68.78 kB / 0.7959 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/1.21, allocations: 136 kB / 0.7961 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008324/1.218, allocations: 3.239 MB / 0.7992 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005109/1.223, allocations: 1.54 MB / 0.8007 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/1.243, allocations: 16.33 MB / 0.8167 GB, free: 84.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006709/1.25, allocations: 433.8 kB / 0.8171 GB, free: 83.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/1.252, allocations: 411.7 kB / 0.8175 GB, free: 83.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.004689/1.256, allocations: 2.338 MB / 0.8198 GB, free: 80.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.258, allocations: 429.2 kB / 0.8202 GB, free: 80.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.272, allocations: 7.479 MB / 0.8275 GB, free: 73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.819e-05/1.272, allocations: 28 kB / 0.8275 GB, free: 72.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.45e-05/1.272, allocations: 15.94 kB / 0.8275 GB, free: 72.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.899e-05/1.272, allocations: 11.95 kB / 0.8275 GB, free: 72.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02556/1.298, allocations: 14.36 MB / 0.8416 GB, free: 58.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-05/1.298, allocations: 0 / 0.8416 GB, free: 58.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/1.3, allocations: 379.5 kB / 0.8419 GB, free: 58.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007861/1.308, allocations: 2.927 MB / 0.8448 GB, free: 55.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005598/1.308, allocations: 51.75 kB / 0.8448 GB, free: 55.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01832/1.326, allocations: 14.56 MB / 0.859 GB, free: 40.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.326, allocations: 4 kB / 0.859 GB, free: 40.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/1.344, allocations: 11.48 MB / 0.8703 GB, free: 28.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.346, allocations: 385 kB / 0.8706 GB, free: 28.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008751/1.346, allocations: 44 kB / 0.8707 GB, free: 28.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00223/1.349, allocations: 187.7 kB / 0.8708 GB, free: 28.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006643/1.349, allocations: 157.6 kB / 0.871 GB, free: 28.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.35, allocations: 60 kB / 0.871 GB, free: 28.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003744/1.353, allocations: 2.746 MB / 0.8737 GB, free: 25.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.353, allocations: 0 / 0.8737 GB, free: 25.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006206/1.36, allocations: 1.3 MB / 0.875 GB, free: 24.1 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.01741/1.377, allocations: 12.14 MB / 0.8869 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.388, allocations: 7.53 MB / 0.8942 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.388, allocations: 0 / 0.8942 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004316/1.392, allocations: 2.882 MB / 0.897 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.396, allocations: 0.5145 MB / 0.8975 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1174/1.513, allocations: 60.73 MB / 0.9568 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005356/1.518, allocations: 3.151 MB / 0.9599 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00533/1.524, allocations: 2.169 MB / 0.962 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003845/1.528, allocations: 2.217 MB / 0.9642 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of SimCode: time 1.152e-06/1.528, allocations: 0 / 0.9642 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4109/1.938, allocations: 98.8 MB / 1.061 GB, free: 172.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.1/32.04, allocations: 7.031 kB / 1.061 GB, free: 172.6 MB / 0.6544 GB " [Timeout remaining time 628] (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: 36.473709354992025]