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.0009077/0.0009077, allocations: 72.55 kB / 19.92 MB, free: 4.621 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.001222/0.001222, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.8647/0.8647, allocations: 158.6 MB / 185 MB, free: 3.027 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.13/0.13, allocations: 32.37 MB / 269.6 MB, free: 14.96 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 3.286e-06/3.286e-06, allocations: 0 / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.43e-05, allocations: 2.281 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01046/0.01049, allocations: 11.66 MB / 418.5 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008875/0.01937, allocations: 4.627 MB / 423.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002995/0.02236, allocations: 95.56 kB / 423.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005003/0.02737, allocations: 4.076 MB / 427.3 MB, free: 8.961 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004963/0.03233, allocations: 2.36 MB / 429.7 MB, free: 6.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.03495, allocations: 1.294 MB / 431 MB, free: 5.293 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1891/0.2241, allocations: 6.235 MB / 437.2 MB, free: 16.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009015/0.2331, allocations: 4.546 MB / 441.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.2441, allocations: 3.346 MB / 445.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00695/0.251, allocations: 3.222 MB / 448.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002066/0.2531, allocations: 0.5092 MB / 448.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/0.2573, allocations: 1.606 MB / 450.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00475/0.2621, allocations: 2.881 MB / 453.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007611/0.2697, allocations: 1.881 MB / 455.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.2821, allocations: 10.36 MB / 465.5 MB, free: 9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.2821, allocations: 0 / 465.5 MB, free: 9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.2821, allocations: 4 kB / 465.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004848/0.2826, allocations: 0 / 465.6 MB, free: 8.996 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.01418/0.2968, allocations: 6.839 MB / 472.4 MB, free: 4.434 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.2968, allocations: 16.02 kB / 472.4 MB, free: 4.43 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001844/0.2987, allocations: 0.9154 MB / 473.3 MB, free: 3.836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03954/0.3382, allocations: 7.729 MB / 481.1 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008403/0.3466, allocations: 4.092 MB / 485.1 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.3469, allocations: 377.1 kB / 485.5 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001537/0.3484, allocations: 429.5 kB / 485.9 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.3711, allocations: 13.9 MB / 499.8 MB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002395/0.3713, allocations: 51.86 kB / 499.9 MB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001189/0.3725, allocations: 207.5 kB / 0.4884 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002685/0.3752, allocations: 2.407 MB / 0.4907 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0228/0.398, allocations: 11.62 MB / 0.5021 GB, free: 11.63 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.0577/0.4557, allocations: 49.12 MB / 0.55 GB, free: 9.887 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008089/0.4638, allocations: 4.228 MB / 0.5542 GB, free: 5.625 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/0.4666, allocations: 2.584 MB / 0.5567 GB, free: 3.027 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01386/0.4805, allocations: 9.95 MB / 0.5664 GB, free: 9.109 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.4805, allocations: 55.25 kB / 0.5665 GB, free: 9.051 MB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 6.021e-06/0.4805, allocations: 4 kB / 0.5665 GB, free: 9.047 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.09213/0.5727, allocations: 44.27 MB / 0.6097 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/0.5728, allocations: 231.6 kB / 0.6099 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007092/0.5799, allocations: 5.496 MB / 0.6153 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006497/0.5805, allocations: 65.73 kB / 0.6153 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002866/0.5834, allocations: 4.021 MB / 0.6193 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001388/0.5848, allocations: 0.946 MB / 0.6202 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002015/0.5868, allocations: 1.445 MB / 0.6216 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5869, allocations: 310.4 kB / 0.6219 GB, free: 292 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1965/0.7834, allocations: 3.264 MB / 0.6251 GB, free: 173.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00642/0.7899, allocations: 7.606 MB / 0.6325 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.8009, allocations: 11.6 MB / 0.6438 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/0.801, allocations: 43.12 kB / 0.6439 GB, free: 157.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.01829/0.8193, allocations: 13.85 MB / 0.6574 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-05/0.8194, allocations: 73.09 kB / 0.6575 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/0.8195, allocations: 156.7 kB / 0.6576 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006077/0.8256, allocations: 3.773 MB / 0.6613 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003185/0.8288, allocations: 1.6 MB / 0.6629 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.8449, allocations: 18.88 MB / 0.6813 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007101/0.852, allocations: 0.5118 MB / 0.6818 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008996/0.8529, allocations: 428 kB / 0.6822 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.00428/0.8572, allocations: 2.667 MB / 0.6848 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009237/0.8581, allocations: 456.4 kB / 0.6853 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009212/0.8673, allocations: 8.106 MB / 0.6932 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.8673, allocations: 24 kB / 0.6932 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.8673, allocations: 16 kB / 0.6932 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.8674, allocations: 11.95 kB / 0.6932 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01752/0.8849, allocations: 16.74 MB / 0.7096 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.8849, allocations: 0 / 0.7096 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.8859, allocations: 394 kB / 0.71 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006093/0.892, allocations: 3.834 MB / 0.7137 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/0.8922, allocations: 45.14 kB / 0.7137 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/0.9071, allocations: 17.27 MB / 0.7306 GB, free: 85.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.9071, allocations: 4 kB / 0.7306 GB, free: 85.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/0.9202, allocations: 12.51 MB / 0.7428 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/0.9221, allocations: 0.9312 MB / 0.7437 GB, free: 72.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/0.9224, allocations: 39.61 kB / 0.7438 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.9237, allocations: 263.6 kB / 0.744 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003948/0.9241, allocations: 150.2 kB / 0.7442 GB, free: 71.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.9242, allocations: 60 kB / 0.7442 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00342/0.9276, allocations: 3.347 MB / 0.7475 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9276, allocations: 4.062 kB / 0.7475 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004943/0.9326, allocations: 1.573 MB / 0.749 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.01286/0.9454, allocations: 13.24 MB / 0.762 GB, free: 53.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008301/0.9537, allocations: 7.588 MB / 0.7694 GB, free: 46.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.9537, allocations: 0 / 0.7694 GB, free: 46.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.9561, allocations: 2.733 MB / 0.7721 GB, free: 43.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.9587, allocations: 0.5554 MB / 0.7726 GB, free: 42.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2657/1.224, allocations: 67.44 MB / 0.8385 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003265/1.228, allocations: 3.582 MB / 0.842 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003277/1.231, allocations: 2.192 MB / 0.8441 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002029/1.233, allocations: 2.504 MB / 0.8465 GB, free: 162.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.485e-06/1.233, allocations: 0 / 0.8465 GB, free: 162.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.336, allocations: 107.8 MB / 0.9518 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/13.3, allocations: 15.95 kB / 0.9518 GB, free: 65.02 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.502555117942393]