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.001828/0.001828, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002725/0.002725, allocations: 209.7 kB / 22.99 MB, free: 4.602 MB / 14.72 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 1.804/1.804, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.2668/0.2668, allocations: 44.27 MB / 330.4 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 67.89 kB / 468 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1741, allocations: 61.05 MB / 0.5167 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01748/0.1916, allocations: 11.63 MB / 0.528 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.2056, allocations: 4.616 MB / 0.5325 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003921/0.2096, allocations: 99.5 kB / 0.5326 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00907/0.2186, allocations: 3.875 MB / 0.5364 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009198/0.2278, allocations: 2.296 MB / 0.5386 GB, free: 52 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3104/0.5383, allocations: 1.173 MB / 0.5398 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.5489, allocations: 5.581 MB / 0.5452 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007852/0.5568, allocations: 4.034 MB / 0.5492 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005422/0.5622, allocations: 2.22 MB / 0.5513 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00687/0.5691, allocations: 3.008 MB / 0.5543 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001944/0.571, allocations: 0.5005 MB / 0.5548 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004529/0.5756, allocations: 1.543 MB / 0.5563 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004448/0.58, allocations: 2.748 MB / 0.559 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007186/0.5872, allocations: 2.259 MB / 0.5612 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01831/0.6055, allocations: 10.04 MB / 0.571 GB, free: 1.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6055, allocations: 0 / 0.571 GB, free: 1.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6055, allocations: 0 / 0.571 GB, free: 1.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005821/0.6061, allocations: 0 / 0.571 GB, free: 1.848 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.031/0.6371, allocations: 6.619 MB / 0.5774 GB, free: 13.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.6371, allocations: 9.969 kB / 0.5774 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02094/0.6581, allocations: 2.744 MB / 0.5801 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.672, allocations: 3.749 MB / 0.5838 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006279/0.6727, allocations: 378.5 kB / 0.5841 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003092/0.6758, allocations: 439.3 kB / 0.5846 GB, free: 9.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04066/0.7164, allocations: 13.95 MB / 0.5982 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004204/0.7168, allocations: 50.92 kB / 0.5982 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002793/0.7196, allocations: 204.2 kB / 0.5984 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00485/0.7245, allocations: 2.403 MB / 0.6008 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03384/0.7583, allocations: 11.74 MB / 0.6122 GB, free: 14.6 MB / 462.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.08942/0.8477, allocations: 47.62 MB / 0.6587 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01355/0.8613, allocations: 4.111 MB / 0.6628 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004808/0.8661, allocations: 2.757 MB / 0.6655 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02545/0.8916, allocations: 10.16 MB / 0.6754 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.767e-05/0.8916, allocations: 63.88 kB / 0.6754 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 6.993e-06/0.8916, allocations: 0 / 0.6754 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.1716/1.063, allocations: 43.56 MB / 0.718 GB, free: 1.363 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/1.063, allocations: 231.6 kB / 0.7182 GB, free: 1.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01186/1.075, allocations: 4.535 MB / 0.7226 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008865/1.076, allocations: 61.7 kB / 0.7227 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004195/1.08, allocations: 4.022 MB / 0.7266 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002286/1.083, allocations: 0.9774 MB / 0.7276 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004737/1.087, allocations: 1.51 MB / 0.729 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.088, allocations: 313 kB / 0.7293 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005873/1.093, allocations: 3.431 MB / 0.7327 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01136/1.105, allocations: 7.74 MB / 0.7402 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01825/1.123, allocations: 11.86 MB / 0.7518 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002151/1.123, allocations: 40 kB / 0.7519 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.3364/1.46, allocations: 14.39 MB / 0.7659 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/1.46, allocations: 68.19 kB / 0.766 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003113/1.46, allocations: 148.5 kB / 0.7661 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01473/1.475, allocations: 4.018 MB / 0.77 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006632/1.481, allocations: 1.628 MB / 0.7716 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03024/1.512, allocations: 19.5 MB / 0.7907 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007759/1.519, allocations: 456.5 kB / 0.7911 GB, free: 181 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001892/1.521, allocations: 435 kB / 0.7915 GB, free: 181 MB / 0.5919 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 (880): * Single equations (assignments): 876 * 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.006789/1.528, allocations: 2.661 MB / 0.7941 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/1.53, allocations: 408.9 kB / 0.7945 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/1.549, allocations: 8.568 MB / 0.8029 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.624e-05/1.549, allocations: 26.66 kB / 0.8029 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-05/1.549, allocations: 15.03 kB / 0.8029 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.739e-05/1.549, allocations: 15.25 kB / 0.8029 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.037/1.586, allocations: 16.15 MB / 0.8187 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-05/1.586, allocations: 5.438 kB / 0.8187 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002169/1.588, allocations: 391.4 kB / 0.8191 GB, free: 165.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01173/1.6, allocations: 4.07 MB / 0.8231 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007249/1.601, allocations: 43.98 kB / 0.8231 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02487/1.626, allocations: 17.9 MB / 0.8406 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/1.626, allocations: 3.938 kB / 0.8406 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0274/1.653, allocations: 13.17 MB / 0.8534 GB, free: 130.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003458/1.656, allocations: 0.8575 MB / 0.8543 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002298/1.659, allocations: 36 kB / 0.8543 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003899/1.663, allocations: 215.7 kB / 0.8545 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000928/1.663, allocations: 162.1 kB / 0.8547 GB, free: 129.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004267/1.664, allocations: 63.98 kB / 0.8547 GB, free: 129.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005574/1.669, allocations: 2.629 MB / 0.8573 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.21e-07/1.669, allocations: 0 / 0.8573 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01084/1.68, allocations: 1.483 MB / 0.8587 GB, free: 125.2 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 (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.001499/1.682, allocations: 226.8 kB / 0.859 GB, free: 125 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0139/1.696, allocations: 7.887 MB / 0.8667 GB, free: 117.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.696, allocations: 4.594 kB / 0.8667 GB, free: 117.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00491/1.701, allocations: 2.861 MB / 0.8695 GB, free: 114.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006089/1.707, allocations: 473.9 kB / 0.8699 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02873/1.735, allocations: 13.14 MB / 0.8827 GB, free: 100.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007236/1.743, allocations: 3.591 MB / 0.8863 GB, free: 97.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005473/1.748, allocations: 2.131 MB / 0.8883 GB, free: 94.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.749, allocations: 267.4 kB / 0.8886 GB, free: 94.66 MB / 0.5919 GB Notification: Performance of SimCode: time 9.01e-07/1.749, allocations: 4 kB / 0.8886 GB, free: 94.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.09745/1.847, allocations: 63.57 MB / 0.9507 GB, free: 30.92 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.216416578739882]