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.001364/0.001364, allocations: 110 kB / 20.43 MB, free: 1.453 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.001667/0.001667, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.595/1.595, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2473/0.2473, allocations: 46.92 MB / 360.8 MB, free: 4.168 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.002516/0.002516, allocations: 83.86 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3993, allocations: 66.08 MB / 0.5607 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01622/0.4155, allocations: 13.33 MB / 0.5738 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.4283, allocations: 4.903 MB / 0.5785 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004046/0.4324, allocations: 95.56 kB / 0.5786 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008182/0.4405, allocations: 4.046 MB / 0.5826 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007262/0.4478, allocations: 2.236 MB / 0.5848 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.4515, allocations: 1.185 MB / 0.5859 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.4619, allocations: 5.826 MB / 0.5916 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006524/0.4684, allocations: 4.029 MB / 0.5956 GB, free: 448 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/0.4727, allocations: 2.208 MB / 0.5977 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005651/0.4784, allocations: 3.186 MB / 0.6008 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001464/0.4798, allocations: 0.5 MB / 0.6013 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003789/0.4836, allocations: 1.697 MB / 0.603 GB, free: 8.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004133/0.4878, allocations: 2.723 MB / 0.6056 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005779/0.4935, allocations: 3.073 MB / 0.6086 GB, free: 3.008 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.5081, allocations: 10.11 MB / 0.6185 GB, free: 8.855 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5081, allocations: 0 / 0.6185 GB, free: 8.855 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5081, allocations: 0 / 0.6185 GB, free: 8.855 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003124/0.5085, allocations: 0 / 0.6185 GB, free: 8.855 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.01968/0.5281, allocations: 6.734 MB / 0.6251 GB, free: 2.051 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.5282, allocations: 8.031 kB / 0.6251 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002031/0.5302, allocations: 0.9216 MB / 0.626 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08288/0.6131, allocations: 7.444 MB / 0.6333 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.6253, allocations: 4.068 MB / 0.6372 GB, free: 5.527 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004358/0.6258, allocations: 375.7 kB / 0.6376 GB, free: 5.145 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/0.6277, allocations: 443.7 kB / 0.638 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02815/0.6558, allocations: 13.77 MB / 0.6515 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001859/0.656, allocations: 59.5 kB / 0.6515 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006286/0.6566, allocations: 199.8 kB / 0.6517 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003947/0.6606, allocations: 2.402 MB / 0.6541 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/0.6869, allocations: 11.62 MB / 0.6654 GB, free: 7.781 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.07408/0.7609, allocations: 51.01 MB / 0.7152 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/0.7736, allocations: 4.039 MB / 0.7192 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004215/0.7778, allocations: 2.581 MB / 0.7217 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02204/0.7999, allocations: 10.3 MB / 0.7317 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.598e-05/0.7999, allocations: 63.8 kB / 0.7318 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=191): time 5.099e-06/0.7999, allocations: 0 / 0.7318 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=242): time 0.4359/1.236, allocations: 42.25 MB / 0.7731 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/1.236, allocations: 235.6 kB / 0.7733 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005679/1.242, allocations: 4.811 MB / 0.778 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005661/1.242, allocations: 57.7 kB / 0.778 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001798/1.244, allocations: 4.055 MB / 0.782 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001016/1.245, allocations: 0.9502 MB / 0.7829 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001697/1.247, allocations: 1.468 MB / 0.7844 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.617e-05/1.247, allocations: 301.1 kB / 0.7846 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003832/1.251, allocations: 3.262 MB / 0.7878 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005712/1.256, allocations: 7.555 MB / 0.7952 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/1.268, allocations: 11.61 MB / 0.8065 GB, free: 91.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/1.268, allocations: 44 kB / 0.8066 GB, free: 91.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02728/1.295, allocations: 13.84 MB / 0.8201 GB, free: 77.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.055e-05/1.295, allocations: 68 kB / 0.8202 GB, free: 77.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/1.295, allocations: 152 kB / 0.8203 GB, free: 77.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01061/1.306, allocations: 3.774 MB / 0.824 GB, free: 73.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005145/1.311, allocations: 1.599 MB / 0.8256 GB, free: 71.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02272/1.334, allocations: 19.07 MB / 0.8442 GB, free: 52.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008827/1.343, allocations: 455.3 kB / 0.8446 GB, free: 52.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/1.344, allocations: 432 kB / 0.845 GB, free: 51.95 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.006991/1.351, allocations: 2.657 MB / 0.8476 GB, free: 49.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001395/1.353, allocations: 449 kB / 0.848 GB, free: 48.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02164/1.374, allocations: 8.102 MB / 0.856 GB, free: 40.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.028e-05/1.374, allocations: 27.83 kB / 0.856 GB, free: 40.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/1.374, allocations: 12 kB / 0.856 GB, free: 40.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.049e-05/1.374, allocations: 15.95 kB / 0.856 GB, free: 40.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02963/1.404, allocations: 17.23 MB / 0.8728 GB, free: 23.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/1.404, allocations: 0 / 0.8728 GB, free: 23.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/1.406, allocations: 395.4 kB / 0.8732 GB, free: 23.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01052/1.417, allocations: 3.835 MB / 0.877 GB, free: 19.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005912/1.417, allocations: 39.98 kB / 0.877 GB, free: 19.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02113/1.438, allocations: 17.43 MB / 0.894 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.438, allocations: 7.938 kB / 0.894 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02548/1.464, allocations: 12.53 MB / 0.9063 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/1.466, allocations: 408.8 kB / 0.9066 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/1.467, allocations: 36 kB / 0.9067 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00281/1.47, allocations: 207.7 kB / 0.9069 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007494/1.471, allocations: 158.1 kB / 0.907 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/1.471, allocations: 63.28 kB / 0.9071 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00661/1.477, allocations: 2.998 MB / 0.91 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.477, allocations: 0 / 0.91 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007954/1.485, allocations: 1.426 MB / 0.9114 GB, free: 15.75 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.02621/1.512, allocations: 13.23 MB / 0.9243 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01418/1.526, allocations: 7.59 MB / 0.9317 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.526, allocations: 0 / 0.9317 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004755/1.531, allocations: 2.748 MB / 0.9344 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003564/1.534, allocations: 0.5411 MB / 0.9349 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4115/1.946, allocations: 66.02 MB / 0.9994 GB, free: 218.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004541/1.95, allocations: 4.095 MB / 1.003 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004341/1.955, allocations: 2.174 MB / 1.006 GB, free: 217.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002929/1.957, allocations: 2.473 MB / 1.008 GB, free: 215 MB / 0.6544 GB Notification: Performance of SimCode: time 1.132e-06/1.957, allocations: 0 / 1.008 GB, free: 215 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.188/2.145, allocations: 109.8 MB / 1.115 GB, free: 106.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.73/36.87, allocations: 3.375 kB / 1.115 GB, free: 106.6 MB / 0.6544 GB " [Timeout remaining time 623] (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: 40.33038268000382]