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.0008983/0.0008983, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009277/0.0009277, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9493/0.9493, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2678/0.2678, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.623e-05, allocations: 2.844 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2009/0.2009, allocations: 10.46 MB / 452.6 MB, free: 38.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005459/0.2064, allocations: 4.186 MB / 456.8 MB, free: 35.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.2076, allocations: 88.31 kB / 456.9 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.21, allocations: 2.82 MB / 459.7 MB, free: 34.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.2128, allocations: 2.134 MB / 461.9 MB, free: 33.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.214, allocations: 1.108 MB / 463 MB, free: 33.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004511/0.2186, allocations: 6.086 MB / 469.1 MB, free: 30.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003057/0.2216, allocations: 3.39 MB / 472.5 MB, free: 29.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003577/0.2252, allocations: 2.69 MB / 475.1 MB, free: 28.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003082/0.2283, allocations: 2.742 MB / 477.9 MB, free: 27.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008307/0.2291, allocations: 378.1 kB / 478.3 MB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.2309, allocations: 1.362 MB / 479.6 MB, free: 27.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001948/0.2329, allocations: 2.34 MB / 482 MB, free: 26.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0028/0.2357, allocations: 1.512 MB / 483.5 MB, free: 25.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.2491, allocations: 8.342 MB / 491.8 MB, free: 22.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.2491, allocations: 5.344 kB / 491.8 MB, free: 22.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.2491, allocations: 0 / 491.8 MB, free: 22.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004882/0.2496, allocations: 0 / 491.8 MB, free: 22.77 MB / 410.7 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.0165/0.2661, allocations: 6.008 MB / 497.8 MB, free: 19.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.2661, allocations: 10.5 kB / 497.8 MB, free: 19.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001409/0.2675, allocations: 0.7988 MB / 498.6 MB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03953/0.3071, allocations: 7.525 MB / 0.4943 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007455/0.3145, allocations: 3.23 MB / 0.4974 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.3147, allocations: 250.8 kB / 0.4977 GB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/0.3158, allocations: 348.3 kB / 0.498 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/0.3317, allocations: 12.41 MB / 0.5101 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001434/0.3318, allocations: 59.53 kB / 0.5102 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004148/0.3323, allocations: 163.8 kB / 0.5103 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002508/0.3348, allocations: 2.373 MB / 0.5127 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/0.3529, allocations: 10.7 MB / 0.5231 GB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0545/0.4074, allocations: 46.68 MB / 0.5687 GB, free: 2.555 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009751/0.4171, allocations: 5.36 MB / 0.5739 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003076/0.4202, allocations: 2.834 MB / 0.5767 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01435/0.4345, allocations: 11.57 MB / 0.588 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.951e-05/0.4346, allocations: 59.81 kB / 0.5881 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 7.063e-06/0.4346, allocations: 0 / 0.5881 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.07331/0.5079, allocations: 39.79 MB / 0.6269 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.508, allocations: 209.9 kB / 0.6271 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005854/0.5138, allocations: 4.952 MB / 0.632 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006182/0.5145, allocations: 65.61 kB / 0.632 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.218/0.7325, allocations: 3.526 MB / 0.6355 GB, free: 156 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001434/0.7339, allocations: 0.9848 MB / 0.6364 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001875/0.7358, allocations: 1.353 MB / 0.6377 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.7358, allocations: 309.8 kB / 0.638 GB, free: 155 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/0.7394, allocations: 3.125 MB / 0.6411 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005002/0.7444, allocations: 7.102 MB / 0.648 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008712/0.7531, allocations: 10.97 MB / 0.6587 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/0.7532, allocations: 39.28 kB / 0.6588 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01941/0.7726, allocations: 12.67 MB / 0.6711 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.7727, allocations: 63.38 kB / 0.6712 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00024/0.773, allocations: 137 kB / 0.6713 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006596/0.7796, allocations: 3.242 MB / 0.6745 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004021/0.7836, allocations: 1.54 MB / 0.676 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/0.7996, allocations: 16.37 MB / 0.692 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005178/0.8048, allocations: 0.5119 MB / 0.6925 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/0.8059, allocations: 411.8 kB / 0.6929 GB, free: 127 MB / 0.5261 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.004021/0.8099, allocations: 2.342 MB / 0.6952 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009606/0.8109, allocations: 426.5 kB / 0.6956 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008917/0.8198, allocations: 7.481 MB / 0.7029 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.77e-05/0.8199, allocations: 28 kB / 0.7029 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.8199, allocations: 8 kB / 0.7029 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.831e-05/0.8199, allocations: 11.44 kB / 0.7029 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/0.8369, allocations: 14.49 MB / 0.7171 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/0.837, allocations: 4 kB / 0.7171 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.8381, allocations: 375.5 kB / 0.7175 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004359/0.8424, allocations: 2.927 MB / 0.7203 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000369/0.8428, allocations: 39.83 kB / 0.7204 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/0.8546, allocations: 14.63 MB / 0.7346 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.8546, allocations: 0 / 0.7346 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.8664, allocations: 11.48 MB / 0.7458 GB, free: 77.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/0.8679, allocations: 441 kB / 0.7463 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000709/0.8686, allocations: 49.3 kB / 0.7463 GB, free: 77.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.8701, allocations: 259.3 kB / 0.7466 GB, free: 77.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003903/0.8705, allocations: 157.7 kB / 0.7467 GB, free: 77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.8706, allocations: 59.94 kB / 0.7468 GB, free: 76.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003359/0.874, allocations: 3.012 MB / 0.7497 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.81e-07/0.874, allocations: 4 kB / 0.7497 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005454/0.8794, allocations: 1.461 MB / 0.7511 GB, free: 72.46 MB / 0.5261 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.01157/0.891, allocations: 12.15 MB / 0.763 GB, free: 60.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008619/0.8996, allocations: 7.526 MB / 0.7704 GB, free: 52.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8996, allocations: 0 / 0.7704 GB, free: 52.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002863/0.9025, allocations: 2.884 MB / 0.7732 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.9051, allocations: 0.5183 MB / 0.7737 GB, free: 49.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07813/0.9833, allocations: 61.72 MB / 0.834 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003522/0.9868, allocations: 3.144 MB / 0.837 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.1777/1.164, allocations: 2.185 MB / 0.8392 GB, free: 176.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003773/1.168, allocations: 2.229 MB / 0.8413 GB, free: 176.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/1.168, allocations: 2 kB / 0.8413 GB, free: 176.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/1.279, allocations: 98.75 MB / 0.9378 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/11.37, allocations: 3.938 kB / 0.9378 GB, free: 120.2 MB / 0.5573 GB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/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: 13.941857631318271]