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.001772/0.001772, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001629/0.001629, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2293/0.2293, allocations: 46.93 MB / 360.9 MB, free: 4.258 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="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.002177/0.002177, allocations: 63.91 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3336, allocations: 66.02 MB / 0.5606 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.0153/0.3489, allocations: 12.04 MB / 0.5724 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.359, allocations: 4.423 MB / 0.5767 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/0.3612, allocations: 79.62 kB / 0.5768 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005871/0.3671, allocations: 2.803 MB / 0.5795 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006226/0.3733, allocations: 2.07 MB / 0.5816 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.3758, allocations: 0.9983 MB / 0.5825 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008307/0.3841, allocations: 5.385 MB / 0.5878 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004607/0.3887, allocations: 2.884 MB / 0.5906 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.3919, allocations: 1.776 MB / 0.5923 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004466/0.3963, allocations: 2.648 MB / 0.5949 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.3975, allocations: 372 kB / 0.5953 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.4007, allocations: 1.447 MB / 0.5967 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003139/0.4038, allocations: 2.24 MB / 0.5989 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004733/0.4085, allocations: 2.559 MB / 0.6014 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.4213, allocations: 8.222 MB / 0.6094 GB, free: 2.293 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4213, allocations: 0 / 0.6094 GB, free: 2.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4213, allocations: 3.938 kB / 0.6094 GB, free: 2.289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000287/0.4216, allocations: 0 / 0.6094 GB, free: 2.289 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.01717/0.4388, allocations: 5.947 MB / 0.6152 GB, free: 12.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4388, allocations: 8.031 kB / 0.6152 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002155/0.441, allocations: 0.8024 MB / 0.616 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08637/0.5274, allocations: 7.246 MB / 0.6231 GB, free: 4.195 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009095/0.5365, allocations: 3.533 MB / 0.6265 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002908/0.5368, allocations: 254.8 kB / 0.6268 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.5379, allocations: 351.7 kB / 0.6271 GB, free: 16 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02287/0.5608, allocations: 12.28 MB / 0.6391 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/0.5609, allocations: 51.58 kB / 0.6392 GB, free: 2.871 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004671/0.5614, allocations: 167.8 kB / 0.6393 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003987/0.5654, allocations: 2.373 MB / 0.6416 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02308/0.5885, allocations: 10.7 MB / 0.6521 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06972/0.6582, allocations: 48.54 MB / 0.6995 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/0.6736, allocations: 5.176 MB / 0.7046 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00426/0.6778, allocations: 2.854 MB / 0.7073 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02179/0.6996, allocations: 11.87 MB / 0.7189 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/0.6997, allocations: 59.88 kB / 0.719 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=193): time 4.619e-06/0.6997, allocations: 0 / 0.719 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=254): time 0.3808/1.08, allocations: 38.47 MB / 0.7566 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/1.081, allocations: 217.7 kB / 0.7568 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004651/1.085, allocations: 4.386 MB / 0.761 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004774/1.086, allocations: 65.7 kB / 0.7611 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00173/1.087, allocations: 3.562 MB / 0.7646 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.088, allocations: 0.9944 MB / 0.7656 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/1.09, allocations: 1.377 MB / 0.7669 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.186e-05/1.09, allocations: 305.1 kB / 0.7672 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003438/1.093, allocations: 3.118 MB / 0.7702 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005026/1.098, allocations: 7.042 MB / 0.7771 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/1.109, allocations: 10.95 MB / 0.7878 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001384/1.109, allocations: 40 kB / 0.7878 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02137/1.13, allocations: 12.65 MB / 0.8002 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/1.13, allocations: 67.94 kB / 0.8003 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001719/1.131, allocations: 136 kB / 0.8004 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008336/1.139, allocations: 3.239 MB / 0.8036 GB, free: 97.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005056/1.144, allocations: 1.54 MB / 0.8051 GB, free: 95.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/1.164, allocations: 16.5 MB / 0.8212 GB, free: 79.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/1.17, allocations: 431.4 kB / 0.8216 GB, free: 78.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001167/1.171, allocations: 404 kB / 0.822 GB, free: 78.25 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.00415/1.175, allocations: 2.346 MB / 0.8243 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.176, allocations: 429.1 kB / 0.8247 GB, free: 75.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/1.19, allocations: 7.472 MB / 0.832 GB, free: 67.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.172e-05/1.19, allocations: 35.36 kB / 0.832 GB, free: 67.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.552e-05/1.19, allocations: 16 kB / 0.832 GB, free: 67.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.297e-05/1.19, allocations: 11.95 kB / 0.832 GB, free: 67.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02696/1.217, allocations: 14.97 MB / 0.8467 GB, free: 52.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/1.217, allocations: 0 / 0.8467 GB, free: 52.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/1.219, allocations: 383.5 kB / 0.847 GB, free: 52.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007579/1.227, allocations: 2.919 MB / 0.8499 GB, free: 49.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004415/1.227, allocations: 47.92 kB / 0.8499 GB, free: 49.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/1.245, allocations: 14.72 MB / 0.8643 GB, free: 34.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.245, allocations: 3.938 kB / 0.8643 GB, free: 34.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/1.262, allocations: 11.47 MB / 0.8755 GB, free: 23.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.264, allocations: 393 kB / 0.8759 GB, free: 22.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/1.265, allocations: 40.47 kB / 0.8759 GB, free: 22.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.267, allocations: 191.6 kB / 0.8761 GB, free: 22.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007135/1.268, allocations: 161.6 kB / 0.8762 GB, free: 22.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/1.268, allocations: 63.91 kB / 0.8763 GB, free: 22.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003455/1.272, allocations: 2.742 MB / 0.879 GB, free: 19.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/1.272, allocations: 7.938 kB / 0.879 GB, free: 19.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00515/1.277, allocations: 1.293 MB / 0.8803 GB, free: 18.29 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.01671/1.294, allocations: 12.14 MB / 0.8921 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.305, allocations: 7.528 MB / 0.8995 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.305, allocations: 0 / 0.8995 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005244/1.31, allocations: 2.886 MB / 0.9023 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/1.314, allocations: 0.5188 MB / 0.9028 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1116/1.425, allocations: 60.75 MB / 0.9621 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006147/1.432, allocations: 3.67 MB / 0.9657 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005248/1.437, allocations: 2.169 MB / 0.9678 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003507/1.44, allocations: 2.218 MB / 0.97 GB, free: 36 kB / 0.6387 GB Notification: Performance of SimCode: time 1.794e-06/1.44, allocations: 0 / 0.97 GB, free: 36 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4288/1.869, allocations: 100.9 MB / 1.068 GB, free: 163.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.32/32.19, allocations: 19.02 kB / 1.068 GB, free: 163.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: 35.968445805832744]