Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00144/0.00144, allocations: 79.53 kB / 20.02 MB, free: 4.508 MB / 18.57 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.001271/0.001271, allocations: 173.9 kB / 23.32 MB, free: 1.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9525/0.9525, allocations: 158.6 MB / 185.1 MB, free: 3.004 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1533/0.1533, allocations: 32.36 MB / 269.7 MB, free: 14.92 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 407.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.905e-05, allocations: 5.516 kB / 407.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01464/0.01467, allocations: 11.67 MB / 418.7 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.02475, allocations: 4.619 MB / 423.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.02735, allocations: 95.56 kB / 423.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004772/0.03212, allocations: 4.08 MB / 427.5 MB, free: 8.852 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005083/0.03721, allocations: 2.368 MB / 429.9 MB, free: 6.473 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.03963, allocations: 1.29 MB / 431.2 MB, free: 5.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.2168/0.2564, allocations: 6.219 MB / 437.4 MB, free: 16.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009949/0.2663, allocations: 4.549 MB / 442 MB, free: 16.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007984/0.2743, allocations: 3.35 MB / 445.3 MB, free: 16.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005707/0.28, allocations: 3.222 MB / 448.5 MB, free: 16.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.2822, allocations: 0.5102 MB / 449 MB, free: 16.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003787/0.2859, allocations: 1.608 MB / 450.7 MB, free: 16.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003831/0.2898, allocations: 2.88 MB / 453.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004707/0.2945, allocations: 1.881 MB / 455.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.3056, allocations: 10.36 MB / 465.8 MB, free: 9.188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3056, allocations: 3.188 kB / 465.8 MB, free: 9.188 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3056, allocations: 0 / 465.8 MB, free: 9.188 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.00042/0.306, allocations: 0 / 465.8 MB, free: 9.188 MB / 362.7 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.01642/0.3224, allocations: 6.838 MB / 472.6 MB, free: 4.625 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.3225, allocations: 8.688 kB / 472.6 MB, free: 4.625 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0025/0.325, allocations: 0.9168 MB / 473.5 MB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0381/0.3631, allocations: 7.728 MB / 481.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008758/0.3718, allocations: 4.123 MB / 485.4 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003021/0.3721, allocations: 373.5 kB / 485.8 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.374, allocations: 428.5 kB / 486.2 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02326/0.3972, allocations: 13.9 MB / 0.4884 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001944/0.3974, allocations: 63.59 kB / 0.4884 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001156/0.3986, allocations: 198 kB / 0.4886 GB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003137/0.4017, allocations: 2.407 MB / 0.491 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02251/0.4242, allocations: 11.62 MB / 0.5023 GB, free: 11.64 MB / 410.7 MB 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.04887/0.4731, allocations: 49.23 MB / 0.5504 GB, free: 9.777 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007612/0.4807, allocations: 4.225 MB / 0.5545 GB, free: 5.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002369/0.4831, allocations: 2.586 MB / 0.557 GB, free: 2.922 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/0.4938, allocations: 9.957 MB / 0.5668 GB, free: 8.996 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.4938, allocations: 59.72 kB / 0.5668 GB, free: 8.934 MB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 3.516e-06/0.4938, allocations: 4 kB / 0.5668 GB, free: 8.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.1007/0.5946, allocations: 44.27 MB / 0.6101 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.5947, allocations: 231.6 kB / 0.6103 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007416/0.6021, allocations: 5.496 MB / 0.6156 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007613/0.6029, allocations: 64.75 kB / 0.6157 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002224/0.6051, allocations: 4.024 MB / 0.6196 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/0.6064, allocations: 0.9444 MB / 0.6206 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002287/0.6086, allocations: 1.451 MB / 0.622 GB, free: 476 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.6087, allocations: 305.1 kB / 0.6223 GB, free: 168 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2281/0.8368, allocations: 3.261 MB / 0.6255 GB, free: 173.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007844/0.8447, allocations: 7.608 MB / 0.6329 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/0.857, allocations: 11.61 MB / 0.6442 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002447/0.8572, allocations: 42.53 kB / 0.6443 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02235/0.8796, allocations: 13.85 MB / 0.6578 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.8797, allocations: 73.44 kB / 0.6579 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002035/0.8799, allocations: 149.4 kB / 0.658 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006741/0.8866, allocations: 3.772 MB / 0.6617 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0042/0.8908, allocations: 1.595 MB / 0.6632 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/0.9066, allocations: 18.89 MB / 0.6817 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005013/0.9116, allocations: 0.5108 MB / 0.6822 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/0.9127, allocations: 436 kB / 0.6826 GB, free: 134.8 MB / 0.5105 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.004631/0.9174, allocations: 2.657 MB / 0.6852 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009447/0.9183, allocations: 454.1 kB / 0.6856 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/0.9283, allocations: 8.106 MB / 0.6935 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.901e-05/0.9284, allocations: 28 kB / 0.6936 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/0.9284, allocations: 13.03 kB / 0.6936 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.614e-05/0.9284, allocations: 11.95 kB / 0.6936 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02382/0.9522, allocations: 16.75 MB / 0.7099 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/0.9523, allocations: 4 kB / 0.71 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.9535, allocations: 391.4 kB / 0.7103 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0062/0.9597, allocations: 3.821 MB / 0.7141 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004885/0.9602, allocations: 42.19 kB / 0.7141 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/0.975, allocations: 17.27 MB / 0.731 GB, free: 85.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.975, allocations: 4 kB / 0.731 GB, free: 85.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/0.9901, allocations: 12.52 MB / 0.7432 GB, free: 73.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/0.9926, allocations: 0.9312 MB / 0.7441 GB, free: 72.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001325/0.994, allocations: 36.06 kB / 0.7441 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/0.9961, allocations: 259.6 kB / 0.7444 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005964/0.9967, allocations: 158.1 kB / 0.7445 GB, free: 71.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.9968, allocations: 66.25 kB / 0.7446 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004734/1.002, allocations: 3.343 MB / 0.7479 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.8e-07/1.002, allocations: 0 / 0.7479 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006903/1.008, allocations: 1.573 MB / 0.7494 GB, free: 66.91 MB / 0.5105 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.01426/1.023, allocations: 13.25 MB / 0.7623 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008815/1.032, allocations: 7.583 MB / 0.7697 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.032, allocations: 0 / 0.7697 GB, free: 46.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002788/1.034, allocations: 2.738 MB / 0.7724 GB, free: 43.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/1.037, allocations: 0.5585 MB / 0.773 GB, free: 42.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2813/1.319, allocations: 67.43 MB / 0.8388 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/1.321, allocations: 3.59 MB / 0.8423 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002821/1.324, allocations: 2.189 MB / 0.8445 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/1.326, allocations: 2.503 MB / 0.8469 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of SimCode: time 3.446e-06/1.326, allocations: 0 / 0.8469 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/1.431, allocations: 108 MB / 0.9523 GB, free: 64.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.66, allocations: 11.84 kB / 0.9523 GB, free: 64.93 MB / 0.5261 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 15.03095483314246]