Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001758/0.001758, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002322/0.002322, allocations: 212.5 kB / 23.73 MB, free: 4.41 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.809 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.2249/0.2249, allocations: 46.97 MB / 360.9 MB, free: 4.031 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.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 71.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3455, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.0146/0.3601, allocations: 11.59 MB / 0.5719 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.3711, allocations: 4.615 MB / 0.5764 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.3737, allocations: 95.56 kB / 0.5765 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007886/0.3816, allocations: 3.875 MB / 0.5803 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00632/0.3879, allocations: 2.237 MB / 0.5825 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.3909, allocations: 1.197 MB / 0.5837 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009058/0.3999, allocations: 5.822 MB / 0.5893 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005921/0.4058, allocations: 4.006 MB / 0.5932 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004423/0.4103, allocations: 2.208 MB / 0.5954 GB, free: 428 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005012/0.4153, allocations: 3.002 MB / 0.5983 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001417/0.4167, allocations: 0.4961 MB / 0.5988 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003521/0.4202, allocations: 1.533 MB / 0.6003 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00361/0.4238, allocations: 2.715 MB / 0.603 GB, free: 8.652 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003616/0.4274, allocations: 2.307 MB / 0.6052 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.4403, allocations: 10.16 MB / 0.6151 GB, free: 12.13 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4403, allocations: 4 kB / 0.6151 GB, free: 12.13 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4403, allocations: 0 / 0.6151 GB, free: 12.13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002608/0.4405, allocations: 4 kB / 0.6152 GB, free: 12.12 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.02009/0.4606, allocations: 6.73 MB / 0.6217 GB, free: 5.324 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.4607, allocations: 12.02 kB / 0.6217 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00199/0.4626, allocations: 0.9177 MB / 0.6226 GB, free: 4.383 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0893/0.5519, allocations: 7.444 MB / 0.6299 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.564, allocations: 4.075 MB / 0.6339 GB, free: 8.793 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004747/0.5644, allocations: 387.7 kB / 0.6343 GB, free: 8.398 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/0.5666, allocations: 431.7 kB / 0.6347 GB, free: 7.977 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02727/0.5938, allocations: 13.88 MB / 0.6482 GB, free: 9.215 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001413/0.594, allocations: 55.58 kB / 0.6483 GB, free: 9.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005257/0.5945, allocations: 199.8 kB / 0.6485 GB, free: 8.965 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0037/0.5982, allocations: 2.41 MB / 0.6508 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0243/0.6225, allocations: 11.6 MB / 0.6621 GB, free: 10.93 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.06604/0.6885, allocations: 48.32 MB / 0.7093 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/0.7007, allocations: 4.04 MB / 0.7133 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00392/0.7047, allocations: 2.584 MB / 0.7158 GB, free: 2.633 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01818/0.7228, allocations: 9.758 MB / 0.7253 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.72e-05/0.7229, allocations: 59.81 kB / 0.7254 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=191): time 6.101e-06/0.7229, allocations: 4 kB / 0.7254 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=242): time 0.463/1.186, allocations: 42.38 MB / 0.7668 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.186, allocations: 243.5 kB / 0.767 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009521/1.196, allocations: 5.057 MB / 0.7719 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007167/1.196, allocations: 61.7 kB / 0.772 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002676/1.199, allocations: 4.051 MB / 0.776 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.2, allocations: 0.9557 MB / 0.7769 GB, free: 126 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002436/1.203, allocations: 1.465 MB / 0.7783 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.249e-05/1.203, allocations: 301.1 kB / 0.7786 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005413/1.208, allocations: 3.262 MB / 0.7818 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005457/1.213, allocations: 7.61 MB / 0.7892 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/1.224, allocations: 11.59 MB / 0.8005 GB, free: 97.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001317/1.224, allocations: 44 kB / 0.8006 GB, free: 97.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02479/1.249, allocations: 13.85 MB / 0.8141 GB, free: 83.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/1.249, allocations: 72 kB / 0.8142 GB, free: 83.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/1.249, allocations: 148 kB / 0.8143 GB, free: 83.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/1.259, allocations: 3.782 MB / 0.818 GB, free: 79.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004793/1.264, allocations: 1.595 MB / 0.8196 GB, free: 77.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/1.287, allocations: 18.87 MB / 0.838 GB, free: 59.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005496/1.292, allocations: 451.5 kB / 0.8384 GB, free: 58.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007558/1.293, allocations: 439.9 kB / 0.8388 GB, free: 58.14 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.003572/1.296, allocations: 2.649 MB / 0.8414 GB, free: 55.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009308/1.297, allocations: 461 kB / 0.8419 GB, free: 55.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/1.313, allocations: 8.103 MB / 0.8498 GB, free: 46.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.143e-05/1.313, allocations: 24 kB / 0.8498 GB, free: 46.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/1.313, allocations: 12 kB / 0.8498 GB, free: 46.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.77e-05/1.313, allocations: 7.969 kB / 0.8498 GB, free: 46.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0281/1.341, allocations: 16.63 MB / 0.8661 GB, free: 30.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/1.341, allocations: 3.938 kB / 0.8661 GB, free: 30.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/1.343, allocations: 391.4 kB / 0.8664 GB, free: 29.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/1.353, allocations: 3.83 MB / 0.8702 GB, free: 25.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005352/1.354, allocations: 47.98 kB / 0.8702 GB, free: 25.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/1.374, allocations: 17.26 MB / 0.8871 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.374, allocations: 0 / 0.8871 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02233/1.397, allocations: 12.53 MB / 0.8993 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.398, allocations: 408.8 kB / 0.8997 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009013/1.399, allocations: 36 kB / 0.8997 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/1.401, allocations: 211 kB / 0.8999 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005776/1.402, allocations: 154.1 kB / 0.9001 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/1.402, allocations: 60.47 kB / 0.9002 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00529/1.407, allocations: 3.002 MB / 0.9031 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.407, allocations: 3.938 kB / 0.9031 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006921/1.414, allocations: 1.422 MB / 0.9045 GB, free: 6.711 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.02638/1.441, allocations: 13.23 MB / 0.9174 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01476/1.456, allocations: 7.587 MB / 0.9248 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.456, allocations: 0 / 0.9248 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005281/1.461, allocations: 2.737 MB / 0.9275 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003433/1.464, allocations: 0.5359 MB / 0.928 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3922/1.856, allocations: 66.03 MB / 0.9925 GB, free: 223.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00435/1.861, allocations: 3.582 MB / 0.996 GB, free: 222.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004436/1.865, allocations: 2.175 MB / 0.9981 GB, free: 221.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00325/1.869, allocations: 2.479 MB / 1.001 GB, free: 219.6 MB / 0.6544 GB Notification: Performance of SimCode: time 1.132e-06/1.869, allocations: 0 / 1.001 GB, free: 219.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1439/2.012, allocations: 104.7 MB / 1.103 GB, free: 115.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.49/20.51, allocations: 0 / 1.103 GB, free: 115.8 MB / 0.6544 GB " [Timeout remaining time 639] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 23.92753723403439]