Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 110.4 kB / 21.1 MB, free: 0.7891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001732/0.001732, allocations: 205.4 kB / 24.38 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.2 MB / 257.7 MB, free: 8.281 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2395/0.2395, allocations: 46.88 MB / 361 MB, free: 4.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 75.88 kB / 0.4962 GB, free: 8.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3167, allocations: 66.02 MB / 0.5607 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01608/0.3328, allocations: 13.26 MB / 0.5736 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.3437, allocations: 4.887 MB / 0.5784 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.3458, allocations: 95.56 kB / 0.5785 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007828/0.3536, allocations: 4.03 MB / 0.5824 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006514/0.3601, allocations: 2.24 MB / 0.5846 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.3638, allocations: 1.185 MB / 0.5857 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01123/0.375, allocations: 5.83 MB / 0.5914 GB, free: 5.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007703/0.3827, allocations: 3.738 MB / 0.5951 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004813/0.3875, allocations: 2.208 MB / 0.5972 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005707/0.3932, allocations: 3.186 MB / 0.6004 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001921/0.3951, allocations: 0.5 MB / 0.6008 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004341/0.3995, allocations: 1.545 MB / 0.6024 GB, free: 9.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004572/0.404, allocations: 2.731 MB / 0.605 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006777/0.4108, allocations: 3.077 MB / 0.608 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01613/0.427, allocations: 10.08 MB / 0.6179 GB, free: 9.879 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.427, allocations: 3.938 kB / 0.6179 GB, free: 9.875 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.427, allocations: 0 / 0.6179 GB, free: 9.875 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004181/0.4274, allocations: 0 / 0.6179 GB, free: 9.875 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.01978/0.4472, allocations: 6.809 MB / 0.6245 GB, free: 2.977 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.4472, allocations: 12.03 kB / 0.6245 GB, free: 2.965 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003011/0.4502, allocations: 0.9138 MB / 0.6254 GB, free: 2.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08109/0.5313, allocations: 7.441 MB / 0.6327 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.5417, allocations: 4.155 MB / 0.6367 GB, free: 6.371 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004683/0.5422, allocations: 350 kB / 0.6371 GB, free: 6.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.544, allocations: 435.7 kB / 0.6375 GB, free: 5.594 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02918/0.5732, allocations: 13.77 MB / 0.6509 GB, free: 6.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/0.5734, allocations: 59.5 kB / 0.651 GB, free: 6.906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009309/0.5743, allocations: 203.8 kB / 0.6512 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004008/0.5783, allocations: 2.406 MB / 0.6535 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02533/0.6036, allocations: 11.63 MB / 0.6649 GB, free: 8.648 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.07304/0.6767, allocations: 51.17 MB / 0.7149 GB, free: 3.996 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/0.6895, allocations: 4.492 MB / 0.7193 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004106/0.6936, allocations: 2.58 MB / 0.7218 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2447/0.9384, allocations: 12.43 MB / 0.7339 GB, free: 154 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.9384, allocations: 55.27 kB / 0.734 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=191): time 4.749e-06/0.9384, allocations: 0.5938 kB / 0.734 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=242): time 0.1377/1.076, allocations: 42.69 MB / 0.7757 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/1.076, allocations: 235.5 kB / 0.7759 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005779/1.082, allocations: 4.799 MB / 0.7806 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005218/1.083, allocations: 61.7 kB / 0.7806 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001792/1.084, allocations: 4.057 MB / 0.7846 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/1.085, allocations: 0.954 MB / 0.7855 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00193/1.087, allocations: 1.472 MB / 0.787 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.557e-05/1.087, allocations: 301.1 kB / 0.7872 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004174/1.092, allocations: 3.258 MB / 0.7904 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005656/1.097, allocations: 7.554 MB / 0.7978 GB, free: 102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/1.108, allocations: 11.6 MB / 0.8091 GB, free: 88.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/1.108, allocations: 44 kB / 0.8092 GB, free: 88.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02516/1.133, allocations: 13.84 MB / 0.8227 GB, free: 74.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/1.133, allocations: 72.19 kB / 0.8228 GB, free: 74.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/1.133, allocations: 152 kB / 0.8229 GB, free: 74.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/1.144, allocations: 3.77 MB / 0.8266 GB, free: 70.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004965/1.149, allocations: 1.595 MB / 0.8281 GB, free: 68.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/1.171, allocations: 19.17 MB / 0.8469 GB, free: 49.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005756/1.177, allocations: 447.4 kB / 0.8473 GB, free: 49.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/1.178, allocations: 432 kB / 0.8477 GB, free: 48.66 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.004355/1.183, allocations: 2.657 MB / 0.8503 GB, free: 45.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008895/1.184, allocations: 457 kB / 0.8507 GB, free: 45.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/1.199, allocations: 8.091 MB / 0.8586 GB, free: 37.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-05/1.199, allocations: 32 kB / 0.8587 GB, free: 37.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/1.199, allocations: 19.92 kB / 0.8587 GB, free: 37.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.494e-05/1.199, allocations: 11.91 kB / 0.8587 GB, free: 37.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02982/1.229, allocations: 17.25 MB / 0.8756 GB, free: 20.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/1.229, allocations: 3.984 kB / 0.8756 GB, free: 20.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/1.231, allocations: 395.4 kB / 0.8759 GB, free: 19.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01058/1.242, allocations: 3.827 MB / 0.8797 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004933/1.242, allocations: 44 kB / 0.8797 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02169/1.264, allocations: 17.54 MB / 0.8968 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/1.264, allocations: 4.062 kB / 0.8968 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02572/1.29, allocations: 12.53 MB / 0.9091 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/1.291, allocations: 490.3 kB / 0.9095 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009506/1.292, allocations: 39.98 kB / 0.9096 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002461/1.294, allocations: 207.7 kB / 0.9098 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006437/1.295, allocations: 153.8 kB / 0.9099 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/1.295, allocations: 60 kB / 0.91 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005419/1.301, allocations: 3.006 MB / 0.9129 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.301, allocations: 0 / 0.9129 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006994/1.308, allocations: 1.426 MB / 0.9143 GB, free: 12.18 MB / 0.5919 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.02636/1.334, allocations: 13.22 MB / 0.9272 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01345/1.347, allocations: 7.583 MB / 0.9346 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.347, allocations: 0 / 0.9346 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004818/1.352, allocations: 2.736 MB / 0.9373 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/1.356, allocations: 0.5473 MB / 0.9378 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3521/1.708, allocations: 66.04 MB / 1.002 GB, free: 218.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003877/1.712, allocations: 4.093 MB / 1.006 GB, free: 216.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004211/1.716, allocations: 2.177 MB / 1.008 GB, free: 215.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002821/1.719, allocations: 2.479 MB / 1.011 GB, free: 212.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.302e-06/1.719, allocations: 0 / 1.011 GB, free: 212.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/1.861, allocations: 109.7 MB / 1.118 GB, free: 103.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.85/34.71, allocations: 6.828 kB / 1.118 GB, free: 103.6 MB / 0.6544 GB " [Timeout remaining time 625] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 37.923688367940485]