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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009065/0.0009065, allocations: 93.45 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001545, allocations: 201.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.7 MB / 246.8 MB, free: 9.586 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 46.18 MB / 345.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003078, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1576, allocations: 63.57 MB / 483.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3067/0.4644, allocations: 46.6 MB / 0.5173 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02625/0.4907, allocations: 10.54 MB / 0.5275 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0107/0.5014, allocations: 206.2 kB / 0.5277 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.5039, allocations: 0.5111 MB / 0.5282 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00764/0.5115, allocations: 2.047 MB / 0.5302 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.5152, allocations: 1.079 MB / 0.5313 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01194/0.5272, allocations: 8.338 MB / 0.5394 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.5377, allocations: 7.045 MB / 0.5463 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/0.5418, allocations: 1.562 MB / 0.5478 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005041/0.5469, allocations: 2.69 MB / 0.5505 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.5483, allocations: 200 kB / 0.5507 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005045/0.5533, allocations: 1.431 MB / 0.5521 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003911/0.5573, allocations: 2.309 MB / 0.5543 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003662/0.561, allocations: 2.602 MB / 0.5569 GB, free: 6.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.5719, allocations: 9.213 MB / 0.5659 GB, free: 13.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5719, allocations: 0 / 0.5659 GB, free: 13.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.572, allocations: 4 kB / 0.5659 GB, free: 13.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002977/0.5723, allocations: 0 / 0.5659 GB, free: 13.55 MB / 414.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.01384/0.5861, allocations: 5.35 MB / 0.5711 GB, free: 8.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.5862, allocations: 12.88 kB / 0.5711 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01938/0.6056, allocations: 2.777 MB / 0.5738 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008418/0.6141, allocations: 3.579 MB / 0.5773 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003381/0.6144, allocations: 349.8 kB / 0.5776 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/0.616, allocations: 432.4 kB / 0.578 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02792/0.644, allocations: 13.89 MB / 0.5916 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001941/0.6442, allocations: 55.45 kB / 0.5917 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007685/0.645, allocations: 205.9 kB / 0.5919 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00386/0.6489, allocations: 2.403 MB / 0.5942 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02537/0.6742, allocations: 11.81 MB / 0.6057 GB, free: 4.027 MB / 446.1 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.07353/0.7478, allocations: 51.78 MB / 0.6563 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/0.7619, allocations: 4.742 MB / 0.6609 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00495/0.7669, allocations: 2.96 MB / 0.6638 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0246/0.7915, allocations: 12.94 MB / 0.6765 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.111e-05/0.7917, allocations: 63.75 kB / 0.6765 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 5.531e-06/0.7917, allocations: 0 / 0.6765 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.4323/1.224, allocations: 43.12 MB / 0.7186 GB, free: 194.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.224, allocations: 230.4 kB / 0.7189 GB, free: 194 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008506/1.233, allocations: 4.767 MB / 0.7235 GB, free: 193.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005896/1.233, allocations: 62.08 kB / 0.7236 GB, free: 193.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/1.236, allocations: 3.838 MB / 0.7273 GB, free: 191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.237, allocations: 0.933 MB / 0.7282 GB, free: 190.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/1.238, allocations: 0.6329 MB / 0.7289 GB, free: 190.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.183e-05/1.238, allocations: 307.3 kB / 0.7291 GB, free: 189.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005856/1.244, allocations: 3.449 MB / 0.7325 GB, free: 188.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007184/1.251, allocations: 7.715 MB / 0.7401 GB, free: 181.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/1.264, allocations: 11.87 MB / 0.7516 GB, free: 172.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001857/1.264, allocations: 44.88 kB / 0.7517 GB, free: 172.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02861/1.292, allocations: 14.48 MB / 0.7658 GB, free: 167.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/1.293, allocations: 68.69 kB / 0.7659 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/1.293, allocations: 146.7 kB / 0.766 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01747/1.31, allocations: 4.036 MB / 0.77 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008818/1.319, allocations: 1.634 MB / 0.7716 GB, free: 161.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03556/1.355, allocations: 18.69 MB / 0.7898 GB, free: 142.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009141/1.364, allocations: 459.3 kB / 0.7903 GB, free: 142.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001542/1.365, allocations: 438.7 kB / 0.7907 GB, free: 141.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * 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 (884): * Single equations (assignments): 880 * 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.007027/1.372, allocations: 2.654 MB / 0.7933 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00136/1.374, allocations: 422.6 kB / 0.7937 GB, free: 138.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02633/1.4, allocations: 8.651 MB / 0.8021 GB, free: 130.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.626e-05/1.4, allocations: 24 kB / 0.8021 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.955e-05/1.4, allocations: 15.94 kB / 0.8022 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-05/1.4, allocations: 11.97 kB / 0.8022 GB, free: 130 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03408/1.435, allocations: 17.91 MB / 0.8197 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.675e-05/1.435, allocations: 1.078 kB / 0.8197 GB, free: 112.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/1.437, allocations: 399.4 kB / 0.82 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01174/1.448, allocations: 4.076 MB / 0.824 GB, free: 107.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004938/1.449, allocations: 45.31 kB / 0.8241 GB, free: 107.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02107/1.47, allocations: 17.11 MB / 0.8408 GB, free: 90.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.47, allocations: 0 / 0.8408 GB, free: 90.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02497/1.495, allocations: 13.24 MB / 0.8537 GB, free: 77.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.497, allocations: 475.2 kB / 0.8542 GB, free: 76.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001572/1.498, allocations: 36.78 kB / 0.8542 GB, free: 76.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00349/1.502, allocations: 219.6 kB / 0.8544 GB, free: 76.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008517/1.503, allocations: 155.3 kB / 0.8546 GB, free: 76.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002289/1.503, allocations: 63.92 kB / 0.8546 GB, free: 76.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004188/1.507, allocations: 2.977 MB / 0.8575 GB, free: 73.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/1.507, allocations: 0 / 0.8575 GB, free: 73.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007529/1.515, allocations: 1.472 MB / 0.859 GB, free: 71.69 MB / 0.545 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 (173): * Single equations (assignments): 169 * 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.0007355/1.515, allocations: 223.3 kB / 0.8592 GB, free: 71.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.527, allocations: 8.265 MB / 0.8672 GB, free: 63.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.527, allocations: 1.875 kB / 0.8672 GB, free: 63.22 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00386/1.531, allocations: 3.109 MB / 0.8703 GB, free: 60.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00427/1.535, allocations: 0.5083 MB / 0.8708 GB, free: 59.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/1.556, allocations: 15.68 MB / 0.8861 GB, free: 43.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003665/1.56, allocations: 4.091 MB / 0.8901 GB, free: 39.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004977/1.565, allocations: 2.194 MB / 0.8922 GB, free: 37.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008541/1.566, allocations: 283.4 kB / 0.8925 GB, free: 37.3 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/1.566, allocations: 0 / 0.8925 GB, free: 37.3 MB / 0.545 GB Notification: Performance of Templates: time 0.3688/1.935, allocations: 60.81 MB / 0.9519 GB, free: 166 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches