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.001963/0.001963, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.003081/0.003081, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2687/0.2687, allocations: 46.96 MB / 360.9 MB, free: 4.012 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="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 0.002206/0.002206, allocations: 67.84 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3468, allocations: 66.03 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01314/0.3599, allocations: 10.45 MB / 0.5708 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008874/0.3688, allocations: 4.182 MB / 0.5749 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.3701, allocations: 87.56 kB / 0.575 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005205/0.3754, allocations: 2.69 MB / 0.5776 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005095/0.3804, allocations: 2.07 MB / 0.5796 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.3826, allocations: 1.014 MB / 0.5806 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007383/0.3899, allocations: 5.376 MB / 0.5859 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/0.3937, allocations: 2.88 MB / 0.5887 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.3965, allocations: 1.779 MB / 0.5904 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.4003, allocations: 2.648 MB / 0.593 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007955/0.4011, allocations: 368 kB / 0.5933 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.4036, allocations: 1.315 MB / 0.5946 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002365/0.406, allocations: 2.248 MB / 0.5968 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002643/0.4087, allocations: 1.91 MB / 0.5987 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009499/0.4182, allocations: 8.253 MB / 0.6067 GB, free: 4.738 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4182, allocations: 0 / 0.6067 GB, free: 4.738 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4182, allocations: 0 / 0.6067 GB, free: 4.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000244/0.4184, allocations: 0 / 0.6067 GB, free: 4.738 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.01565/0.4341, allocations: 5.95 MB / 0.6126 GB, free: 14.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4341, allocations: 8.031 kB / 0.6126 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001462/0.4356, allocations: 0.8024 MB / 0.6134 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08304/0.5186, allocations: 7.238 MB / 0.6204 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009797/0.5284, allocations: 3.549 MB / 0.6239 GB, free: 3.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.5286, allocations: 254.8 kB / 0.6241 GB, free: 2.801 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/0.5297, allocations: 355.7 kB / 0.6245 GB, free: 2.453 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02533/0.555, allocations: 12.38 MB / 0.6366 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/0.5552, allocations: 55.56 kB / 0.6366 GB, free: 5.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005624/0.5557, allocations: 167.8 kB / 0.6368 GB, free: 5.016 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004941/0.5607, allocations: 2.373 MB / 0.6391 GB, free: 2.641 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02355/0.5842, allocations: 10.68 MB / 0.6495 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06884/0.6531, allocations: 46.34 MB / 0.6948 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01571/0.6688, allocations: 5.172 MB / 0.6998 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004299/0.6731, allocations: 2.848 MB / 0.7026 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02313/0.6962, allocations: 11.29 MB / 0.7136 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.436e-05/0.6963, allocations: 59.81 kB / 0.7137 GB, free: 4.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 5.14e-06/0.6963, allocations: 0 / 0.7137 GB, free: 4.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.3785/1.075, allocations: 38.58 MB / 0.7514 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/1.075, allocations: 212.6 kB / 0.7516 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004978/1.08, allocations: 4.617 MB / 0.7561 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004578/1.08, allocations: 65.7 kB / 0.7561 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00155/1.082, allocations: 3.562 MB / 0.7596 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008842/1.083, allocations: 0.9914 MB / 0.7606 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001557/1.084, allocations: 1.385 MB / 0.7619 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.614e-05/1.084, allocations: 301.1 kB / 0.7622 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003322/1.088, allocations: 3.117 MB / 0.7653 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004531/1.092, allocations: 7.091 MB / 0.7722 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009363/1.102, allocations: 10.96 MB / 0.7829 GB, free: 118 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/1.102, allocations: 40 kB / 0.7829 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02076/1.122, allocations: 12.64 MB / 0.7953 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/1.122, allocations: 64 kB / 0.7953 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-05/1.123, allocations: 136 kB / 0.7955 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008205/1.131, allocations: 3.235 MB / 0.7986 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004764/1.136, allocations: 1.544 MB / 0.8001 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/1.155, allocations: 16.32 MB / 0.8161 GB, free: 83.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005227/1.16, allocations: 431.4 kB / 0.8165 GB, free: 83.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008361/1.161, allocations: 411.9 kB / 0.8169 GB, free: 83.03 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.002885/1.164, allocations: 2.346 MB / 0.8192 GB, free: 80.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007419/1.164, allocations: 426.3 kB / 0.8196 GB, free: 80.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.177, allocations: 7.487 MB / 0.8269 GB, free: 72.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.555e-05/1.177, allocations: 31.31 kB / 0.8269 GB, free: 72.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/1.177, allocations: 12 kB / 0.8269 GB, free: 72.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-05/1.177, allocations: 11.95 kB / 0.8269 GB, free: 72.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02546/1.203, allocations: 14.36 MB / 0.841 GB, free: 58.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/1.203, allocations: 4 kB / 0.841 GB, free: 58.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/1.205, allocations: 387.4 kB / 0.8413 GB, free: 57.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007875/1.213, allocations: 2.915 MB / 0.8442 GB, free: 55.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000388/1.213, allocations: 47.92 kB / 0.8442 GB, free: 54.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/1.229, allocations: 14.55 MB / 0.8584 GB, free: 40.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.229, allocations: 0 / 0.8584 GB, free: 40.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/1.246, allocations: 11.47 MB / 0.8696 GB, free: 28.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.248, allocations: 397 kB / 0.87 GB, free: 28.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006156/1.248, allocations: 36.88 kB / 0.8701 GB, free: 28.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.25, allocations: 195.7 kB / 0.8702 GB, free: 28.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004847/1.251, allocations: 157.4 kB / 0.8704 GB, free: 27.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/1.251, allocations: 60 kB / 0.8704 GB, free: 27.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00317/1.254, allocations: 2.748 MB / 0.8731 GB, free: 25.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.254, allocations: 0 / 0.8731 GB, free: 25.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004924/1.259, allocations: 1.293 MB / 0.8744 GB, free: 23.87 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.01716/1.276, allocations: 12.15 MB / 0.8863 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.288, allocations: 7.523 MB / 0.8936 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.288, allocations: 0 / 0.8936 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004561/1.292, allocations: 2.887 MB / 0.8964 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003479/1.296, allocations: 0.5141 MB / 0.8969 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1234/1.419, allocations: 60.73 MB / 0.9562 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004912/1.424, allocations: 3.139 MB / 0.9593 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005247/1.429, allocations: 2.176 MB / 0.9614 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004143/1.434, allocations: 2.221 MB / 0.9636 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of SimCode: time 1.874e-06/1.434, allocations: 0 / 0.9636 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4673/1.901, allocations: 99.18 MB / 1.06 GB, free: 171.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.4/19.3, allocations: 2.969 kB / 1.06 GB, free: 171.8 MB / 0.6544 GB " [Timeout remaining time 641] (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: 23.145581998018315]