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.001486/0.001486, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.001454/0.001454, allocations: 209.5 kB / 23.77 MB, free: 4.434 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.546/1.546, allocations: 230.5 MB / 257.5 MB, free: 7.707 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.96 MB / 360.9 MB, free: 3.879 MB / 286.1 MB " [Timeout remaining time 179] 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.002337/0.002337, allocations: 83.86 kB / 0.4963 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3445, allocations: 66.08 MB / 0.5608 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01442/0.359, allocations: 11.59 MB / 0.5721 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009762/0.3687, allocations: 4.627 MB / 0.5766 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.3706, allocations: 99.56 kB / 0.5767 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007952/0.3786, allocations: 3.863 MB / 0.5805 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006031/0.3846, allocations: 2.233 MB / 0.5827 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.3874, allocations: 1.201 MB / 0.5838 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008463/0.3959, allocations: 5.818 MB / 0.5895 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005902/0.4018, allocations: 4.002 MB / 0.5934 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.4053, allocations: 2.208 MB / 0.5956 GB, free: 192 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005087/0.4104, allocations: 2.991 MB / 0.5985 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.4116, allocations: 0.5 MB / 0.599 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.4147, allocations: 1.533 MB / 0.6005 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003183/0.4179, allocations: 2.727 MB / 0.6032 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003498/0.4214, allocations: 2.307 MB / 0.6054 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.4339, allocations: 10.16 MB / 0.6153 GB, free: 11.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4339, allocations: 7.875 kB / 0.6153 GB, free: 11.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4339, allocations: 0 / 0.6153 GB, free: 11.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002794/0.4342, allocations: 4 kB / 0.6153 GB, free: 11.88 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.01798/0.4522, allocations: 6.738 MB / 0.6219 GB, free: 5.074 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.4522, allocations: 12.02 kB / 0.6219 GB, free: 5.062 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001963/0.4542, allocations: 0.9138 MB / 0.6228 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08618/0.5404, allocations: 7.73 MB / 0.6304 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.5507, allocations: 4.083 MB / 0.6344 GB, free: 8.254 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004407/0.5512, allocations: 375.7 kB / 0.6347 GB, free: 7.871 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.553, allocations: 431.7 kB / 0.6351 GB, free: 7.449 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03009/0.5831, allocations: 13.9 MB / 0.6487 GB, free: 8.664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001789/0.5832, allocations: 51.58 kB / 0.6488 GB, free: 8.613 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00075/0.584, allocations: 199.8 kB / 0.649 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003944/0.5879, allocations: 2.41 MB / 0.6513 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02627/0.6142, allocations: 11.64 MB / 0.6627 GB, free: 10.36 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.07539/0.6896, allocations: 48.46 MB / 0.71 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01355/0.7031, allocations: 4.245 MB / 0.7141 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00471/0.7079, allocations: 2.576 MB / 0.7167 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0203/0.7282, allocations: 9.805 MB / 0.7262 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.068e-05/0.7282, allocations: 67.8 kB / 0.7263 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=191): time 6.252e-06/0.7282, allocations: 0 / 0.7263 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=242): time 0.4455/1.174, allocations: 43.76 MB / 0.769 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.174, allocations: 237.5 kB / 0.7693 GB, free: 133 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007414/1.181, allocations: 5.047 MB / 0.7742 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007084/1.182, allocations: 61.7 kB / 0.7742 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002692/1.185, allocations: 4.057 MB / 0.7782 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001365/1.186, allocations: 0.9511 MB / 0.7791 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002277/1.188, allocations: 1.472 MB / 0.7806 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.08e-05/1.188, allocations: 305.2 kB / 0.7809 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004268/1.193, allocations: 3.27 MB / 0.7841 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005854/1.198, allocations: 7.606 MB / 0.7915 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/1.209, allocations: 11.62 MB / 0.8028 GB, free: 94.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000144/1.21, allocations: 40 kB / 0.8029 GB, free: 94.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02955/1.239, allocations: 13.86 MB / 0.8164 GB, free: 80.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/1.239, allocations: 72.25 kB / 0.8165 GB, free: 80.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002977/1.24, allocations: 152 kB / 0.8166 GB, free: 80.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/1.251, allocations: 3.766 MB / 0.8203 GB, free: 77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005157/1.256, allocations: 1.606 MB / 0.8219 GB, free: 75.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0242/1.28, allocations: 18.87 MB / 0.8403 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006869/1.287, allocations: 479.3 kB / 0.8408 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/1.289, allocations: 432 kB / 0.8412 GB, free: 55.52 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.005303/1.294, allocations: 2.653 MB / 0.8438 GB, free: 52.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001469/1.295, allocations: 457 kB / 0.8442 GB, free: 52.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/1.313, allocations: 8.11 MB / 0.8521 GB, free: 44.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-05/1.313, allocations: 27.94 kB / 0.8521 GB, free: 44.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.086e-05/1.313, allocations: 12 kB / 0.8521 GB, free: 44.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.678e-05/1.313, allocations: 11.97 kB / 0.8522 GB, free: 44.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03646/1.35, allocations: 16.65 MB / 0.8684 GB, free: 27.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.964e-05/1.35, allocations: 4 kB / 0.8684 GB, free: 27.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/1.352, allocations: 399.3 kB / 0.8688 GB, free: 27.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01131/1.363, allocations: 3.831 MB / 0.8725 GB, free: 23.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005906/1.364, allocations: 39.98 kB / 0.8726 GB, free: 23.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/1.385, allocations: 17.26 MB / 0.8894 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.385, allocations: 4 kB / 0.8894 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02418/1.409, allocations: 12.52 MB / 0.9017 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/1.411, allocations: 412.8 kB / 0.9021 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/1.412, allocations: 39.2 kB / 0.9021 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/1.416, allocations: 219.7 kB / 0.9023 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/1.417, allocations: 158.1 kB / 0.9025 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004867/1.417, allocations: 60 kB / 0.9025 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007619/1.425, allocations: 2.998 MB / 0.9054 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.425, allocations: 0 / 0.9054 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009036/1.434, allocations: 1.422 MB / 0.9068 GB, free: 4.051 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.03057/1.464, allocations: 13.22 MB / 0.9197 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0159/1.48, allocations: 7.601 MB / 0.9272 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.48, allocations: 0 / 0.9272 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005516/1.486, allocations: 2.737 MB / 0.9298 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005422/1.491, allocations: 0.5505 MB / 0.9304 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4242/1.915, allocations: 66.06 MB / 0.9949 GB, free: 223.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00425/1.92, allocations: 3.574 MB / 0.9984 GB, free: 222.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004721/1.924, allocations: 2.175 MB / 1.001 GB, free: 221.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002879/1.927, allocations: 2.475 MB / 1.003 GB, free: 219.1 MB / 0.6544 GB Notification: Performance of SimCode: time 1.172e-06/1.927, allocations: 3.812 kB / 1.003 GB, free: 219.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/2.078, allocations: 104.6 MB / 1.105 GB, free: 115.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.84/21.92, allocations: 9.578 kB / 1.105 GB, free: 115.2 MB / 0.6544 GB " [Timeout remaining time 638] (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.1.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: 25.324116175004747]