Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.001581/0.001581, allocations: 119.5 kB / 20.33 MB, free: 1.566 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.002041/0.002041, allocations: 206.4 kB / 23.6 MB, free: 4.949 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.497/1.497, allocations: 230.5 MB / 257.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2168/0.2168, allocations: 44.9 MB / 358.6 MB, free: 6.426 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.84 kB / 0.4927 GB, free: 10.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3508, allocations: 65.49 MB / 0.5567 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01559/0.3664, allocations: 13.21 MB / 0.5696 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009873/0.3763, allocations: 4.879 MB / 0.5743 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.3782, allocations: 99.56 kB / 0.5744 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007532/0.3857, allocations: 4.042 MB / 0.5784 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005496/0.3912, allocations: 2.23 MB / 0.5805 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.3938, allocations: 1.193 MB / 0.5817 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008234/0.402, allocations: 5.818 MB / 0.5874 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005557/0.4076, allocations: 4.041 MB / 0.5913 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004593/0.4122, allocations: 2.201 MB / 0.5935 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005575/0.4177, allocations: 3.194 MB / 0.5966 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002786/0.4205, allocations: 0.5038 MB / 0.5971 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005504/0.426, allocations: 1.553 MB / 0.5986 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005194/0.4312, allocations: 2.719 MB / 0.6013 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005044/0.4363, allocations: 3.081 MB / 0.6043 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.4491, allocations: 10.15 MB / 0.6142 GB, free: 12.63 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4492, allocations: 3.984 kB / 0.6142 GB, free: 12.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4492, allocations: 0 / 0.6142 GB, free: 12.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003042/0.4495, allocations: 0 / 0.6142 GB, free: 12.62 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01773/0.4672, allocations: 6.733 MB / 0.6208 GB, free: 5.824 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4672, allocations: 12.03 kB / 0.6208 GB, free: 5.812 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001599/0.4688, allocations: 0.9216 MB / 0.6217 GB, free: 4.879 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08342/0.5523, allocations: 7.444 MB / 0.6289 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/0.5627, allocations: 4.079 MB / 0.6329 GB, free: 9.285 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004274/0.5631, allocations: 375.7 kB / 0.6333 GB, free: 8.902 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/0.5646, allocations: 435.7 kB / 0.6337 GB, free: 8.477 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0284/0.593, allocations: 13.88 MB / 0.6473 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.5932, allocations: 55.58 kB / 0.6473 GB, free: 9.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006905/0.5939, allocations: 195.8 kB / 0.6475 GB, free: 9.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00435/0.5982, allocations: 2.414 MB / 0.6499 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02739/0.6256, allocations: 11.61 MB / 0.6612 GB, free: 11.42 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07231/0.6979, allocations: 50.83 MB / 0.7108 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/0.7105, allocations: 4.048 MB / 0.7148 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00419/0.7147, allocations: 2.584 MB / 0.7173 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01936/0.734, allocations: 10.3 MB / 0.7274 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/0.7341, allocations: 59.81 kB / 0.7274 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=191): time 4.869e-06/0.7341, allocations: 0 / 0.7274 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=242): time 0.3935/1.128, allocations: 42.38 MB / 0.7688 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/1.128, allocations: 235.7 kB / 0.769 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005763/1.133, allocations: 4.8 MB / 0.7737 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004766/1.134, allocations: 61.7 kB / 0.7738 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001766/1.136, allocations: 4.052 MB / 0.7778 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/1.137, allocations: 0.9586 MB / 0.7787 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001965/1.139, allocations: 1.469 MB / 0.7801 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.031e-05/1.139, allocations: 305.1 kB / 0.7804 GB, free: 125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003972/1.143, allocations: 3.262 MB / 0.7836 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005689/1.148, allocations: 7.598 MB / 0.791 GB, free: 112 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/1.159, allocations: 11.6 MB / 0.8023 GB, free: 98.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.99e-05/1.159, allocations: 51.94 kB / 0.8024 GB, free: 98.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02652/1.185, allocations: 13.84 MB / 0.8159 GB, free: 84.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.309e-05/1.185, allocations: 68 kB / 0.816 GB, free: 84.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/1.185, allocations: 152 kB / 0.8161 GB, free: 84.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/1.196, allocations: 3.771 MB / 0.8198 GB, free: 80.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004664/1.201, allocations: 1.595 MB / 0.8214 GB, free: 78.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/1.224, allocations: 19.06 MB / 0.84 GB, free: 59.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006339/1.231, allocations: 451.5 kB / 0.8404 GB, free: 59.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/1.232, allocations: 434.6 kB / 0.8408 GB, free: 58.76 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004068/1.236, allocations: 2.649 MB / 0.8434 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001/1.237, allocations: 453 kB / 0.8438 GB, free: 55.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/1.252, allocations: 8.106 MB / 0.8518 GB, free: 47.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.948e-05/1.252, allocations: 24 kB / 0.8518 GB, free: 47.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/1.252, allocations: 12 kB / 0.8518 GB, free: 47.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.316e-05/1.253, allocations: 23.83 kB / 0.8518 GB, free: 47.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03233/1.285, allocations: 17.21 MB / 0.8686 GB, free: 30.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-05/1.285, allocations: 0 / 0.8686 GB, free: 30.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/1.287, allocations: 395.4 kB / 0.869 GB, free: 29.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01044/1.297, allocations: 3.827 MB / 0.8727 GB, free: 26.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004884/1.298, allocations: 39.98 kB / 0.8728 GB, free: 25.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/1.319, allocations: 17.44 MB / 0.8898 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.319, allocations: 0 / 0.8898 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0238/1.343, allocations: 12.53 MB / 0.902 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.344, allocations: 408.8 kB / 0.9024 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/1.345, allocations: 40 kB / 0.9025 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/1.348, allocations: 209.2 kB / 0.9027 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007237/1.348, allocations: 158.1 kB / 0.9028 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002299/1.349, allocations: 63.12 kB / 0.9029 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005669/1.354, allocations: 2.998 MB / 0.9058 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/1.354, allocations: 3.938 kB / 0.9058 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006732/1.361, allocations: 1.426 MB / 0.9072 GB, free: 6.566 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (167): * Single equations (assignments): 163 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02794/1.389, allocations: 13.23 MB / 0.9201 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01511/1.404, allocations: 7.589 MB / 0.9275 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.404, allocations: 0 / 0.9275 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005445/1.409, allocations: 2.741 MB / 0.9302 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/1.413, allocations: 0.5293 MB / 0.9307 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4061/1.82, allocations: 66.05 MB / 0.9952 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004712/1.824, allocations: 3.566 MB / 0.9987 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004688/1.829, allocations: 2.181 MB / 1.001 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003563/1.833, allocations: 2.48 MB / 1.003 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.372e-06/1.833, allocations: 0 / 1.003 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1606/1.993, allocations: 109.8 MB / 1.11 GB, free: 95.18 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.22/36.21, allocations: 4.062 kB / 1.11 GB, free: 95.18 MB / 0.6387 GB " [Timeout remaining time 624] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,revolute.phi,revolute.w Variables in the result:time,revolute.phi,revolute.w [Calling sys.exit(0), Time elapsed: 39.62556789396331]