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.001807/0.001807, allocations: 116 kB / 20.43 MB, free: 1.449 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.002354/0.002354, allocations: 214.8 kB / 23.74 MB, free: 4.66 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.563/1.563, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2354/0.2354, 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.002045/0.002045, allocations: 63.91 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3773, allocations: 66.04 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01451/0.3918, allocations: 12.03 MB / 0.5724 GB, free: 8.367 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.403, allocations: 4.427 MB / 0.5767 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.4055, allocations: 87.56 kB / 0.5768 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005767/0.4113, allocations: 2.795 MB / 0.5795 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005535/0.4168, allocations: 2.066 MB / 0.5816 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.4194, allocations: 1.002 MB / 0.5825 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008721/0.4281, allocations: 5.385 MB / 0.5878 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004754/0.4328, allocations: 2.888 MB / 0.5906 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003503/0.4363, allocations: 1.776 MB / 0.5924 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004914/0.4413, allocations: 2.648 MB / 0.5949 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.4425, allocations: 368 kB / 0.5953 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.4455, allocations: 1.447 MB / 0.5967 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003184/0.4487, allocations: 2.248 MB / 0.5989 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004623/0.4534, allocations: 2.552 MB / 0.6014 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.4648, allocations: 8.222 MB / 0.6094 GB, free: 2.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.4648, allocations: 0 / 0.6094 GB, free: 2.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4648, allocations: 0 / 0.6094 GB, free: 2.301 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001943/0.465, allocations: 3.938 kB / 0.6094 GB, free: 2.297 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.01521/0.4802, allocations: 5.954 MB / 0.6152 GB, free: 12.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4803, allocations: 8.031 kB / 0.6152 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001317/0.4816, allocations: 0.7985 MB / 0.616 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08638/0.568, allocations: 7.238 MB / 0.6231 GB, free: 4.211 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009375/0.5774, allocations: 3.537 MB / 0.6265 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.5776, allocations: 250.8 kB / 0.6268 GB, free: 384 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001287/0.5789, allocations: 355.7 kB / 0.6271 GB, free: 28 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/0.6012, allocations: 12.28 MB / 0.6391 GB, free: 2.934 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001579/0.6014, allocations: 51.56 kB / 0.6392 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/0.6018, allocations: 167.8 kB / 0.6393 GB, free: 2.719 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004056/0.6059, allocations: 2.377 MB / 0.6417 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02215/0.628, allocations: 10.7 MB / 0.6521 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07048/0.6985, allocations: 48.53 MB / 0.6995 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/0.7145, allocations: 5.18 MB / 0.7046 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004267/0.7188, allocations: 2.852 MB / 0.7073 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02264/0.7414, allocations: 11.87 MB / 0.7189 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.878e-05/0.7415, allocations: 59.81 kB / 0.719 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=193): time 4.749e-06/0.7415, allocations: 0 / 0.719 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=254): time 0.3719/1.113, allocations: 38.48 MB / 0.7566 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/1.113, allocations: 209.9 kB / 0.7568 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005425/1.119, allocations: 4.385 MB / 0.761 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000638/1.12, allocations: 61.7 kB / 0.7611 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001677/1.121, allocations: 3.574 MB / 0.7646 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001061/1.122, allocations: 0.9938 MB / 0.7656 GB, free: 140 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/1.124, allocations: 1.374 MB / 0.7669 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.271e-05/1.124, allocations: 305.1 kB / 0.7672 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/1.128, allocations: 3.117 MB / 0.7702 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005053/1.133, allocations: 7.043 MB / 0.7771 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009745/1.142, allocations: 10.96 MB / 0.7878 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.664e-05/1.143, allocations: 40 kB / 0.7879 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02201/1.165, allocations: 12.65 MB / 0.8002 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/1.165, allocations: 72.92 kB / 0.8003 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/1.165, allocations: 136 kB / 0.8004 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008339/1.173, allocations: 3.239 MB / 0.8036 GB, free: 97.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005003/1.178, allocations: 1.54 MB / 0.8051 GB, free: 95.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/1.198, allocations: 16.49 MB / 0.8212 GB, free: 79.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006204/1.204, allocations: 438.2 kB / 0.8216 GB, free: 78.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/1.205, allocations: 408 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.004951/1.21, allocations: 2.338 MB / 0.8243 GB, free: 75.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.211, allocations: 429.1 kB / 0.8247 GB, free: 75.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/1.225, allocations: 7.483 MB / 0.832 GB, free: 67.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/1.225, allocations: 35.92 kB / 0.832 GB, free: 67.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/1.225, allocations: 12 kB / 0.832 GB, free: 67.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/1.225, allocations: 7.969 kB / 0.832 GB, free: 67.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02426/1.249, allocations: 14.96 MB / 0.8467 GB, free: 52.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.229e-05/1.249, allocations: 3.938 kB / 0.8467 GB, free: 52.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.251, allocations: 387.4 kB / 0.847 GB, free: 52.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007833/1.259, allocations: 2.919 MB / 0.8499 GB, free: 49.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005685/1.26, allocations: 43.98 kB / 0.8499 GB, free: 49.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01793/1.278, allocations: 14.73 MB / 0.8643 GB, free: 34.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.278, allocations: 0 / 0.8643 GB, free: 34.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/1.296, allocations: 11.48 MB / 0.8755 GB, free: 23.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.297, allocations: 389 kB / 0.8759 GB, free: 22.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001418/1.299, allocations: 44 kB / 0.8759 GB, free: 22.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002911/1.302, allocations: 191.6 kB / 0.8761 GB, free: 22.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007403/1.302, allocations: 153.7 kB / 0.8763 GB, free: 22.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000345/1.303, allocations: 64 kB / 0.8763 GB, free: 22.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004678/1.308, allocations: 2.746 MB / 0.879 GB, free: 19.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.308, allocations: 0 / 0.879 GB, free: 19.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007926/1.315, allocations: 1.297 MB / 0.8803 GB, free: 18.3 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.01913/1.335, allocations: 12.13 MB / 0.8921 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.347, allocations: 7.527 MB / 0.8995 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/1.347, allocations: 3.938 kB / 0.8995 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005707/1.352, allocations: 2.886 MB / 0.9023 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/1.356, allocations: 0.5141 MB / 0.9028 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1058/1.462, allocations: 60.76 MB / 0.9621 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005246/1.467, allocations: 3.662 MB / 0.9657 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005406/1.472, allocations: 2.169 MB / 0.9678 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00401/1.476, allocations: 2.214 MB / 0.97 GB, free: 52 kB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/1.476, allocations: 4 kB / 0.97 GB, free: 48 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4337/1.91, allocations: 100.9 MB / 1.068 GB, free: 163.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.06/32.97, allocations: 7.938 kB / 1.068 GB, free: 163.5 MB / 0.6544 GB " [Timeout remaining time 627] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 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.csv","/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.35884595300013]