Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001497/0.001497, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001554/0.001554, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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 1.452/1.452, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 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.2184/0.2184, allocations: 32.38 MB / 270 MB, free: 14.79 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: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.272e-05, allocations: 2.312 kB / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01378/0.01382, allocations: 13.98 MB / 360.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.02704, allocations: 5.238 MB / 366.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003536/0.03057, allocations: 127.4 kB / 366.3 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.04181, allocations: 5.346 MB / 371.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009429/0.05124, allocations: 2.807 MB / 374.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.05546, allocations: 1.575 MB / 376 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01487/0.07032, allocations: 8.595 MB / 384.6 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01244/0.08276, allocations: 6.166 MB / 390.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01157/0.09433, allocations: 4.253 MB / 395 MB, free: 9.504 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008054/0.1024, allocations: 4.166 MB / 399.2 MB, free: 5.328 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002345/0.1047, allocations: 0.6562 MB / 399.8 MB, free: 4.672 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005385/0.1101, allocations: 1.759 MB / 401.6 MB, free: 2.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006318/0.1164, allocations: 3.631 MB / 405.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007764/0.1242, allocations: 2.287 MB / 407.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02122/0.1454, allocations: 12.35 MB / 419.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1454, allocations: 0 / 419.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1454, allocations: 4 kB / 419.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004373/0.1459, allocations: 4 kB / 419.9 MB, free: 0.5859 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.0245/0.1704, allocations: 8.192 MB / 428.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1704, allocations: 8.031 kB / 428.1 MB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01681/0.1872, allocations: 3.851 MB / 431.9 MB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2023/0.3896, allocations: 5.131 MB / 437 MB, free: 85.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008679/0.3904, allocations: 379.3 kB / 437.4 MB, free: 85.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002694/0.3931, allocations: 0.5144 MB / 437.9 MB, free: 85.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02853/0.4217, allocations: 15.77 MB / 453.7 MB, free: 75.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001842/0.4218, allocations: 67.47 kB / 453.8 MB, free: 75.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007375/0.4226, allocations: 237.1 kB / 454 MB, free: 75.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003287/0.4259, allocations: 2.552 MB / 456.5 MB, free: 73.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02406/0.4499, allocations: 13.21 MB / 469.7 MB, free: 59.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06571/0.5156, allocations: 53.54 MB / 0.511 GB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/0.5315, allocations: 5.869 MB / 0.5168 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006946/0.5384, allocations: 3.299 MB / 0.52 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02272/0.5611, allocations: 9.791 MB / 0.5295 GB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.315e-05/0.5612, allocations: 60.5 kB / 0.5296 GB, free: 2.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=251): time 6.001e-06/0.5612, allocations: 4 kB / 0.5296 GB, free: 2.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=353): time 0.1843/0.7456, allocations: 48.69 MB / 0.5771 GB, free: 2.535 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002217/0.7458, allocations: 240 kB / 0.5774 GB, free: 2.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/0.7566, allocations: 5.798 MB / 0.583 GB, free: 12.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001078/0.7576, allocations: 77.7 kB / 0.5831 GB, free: 12.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004826/0.7625, allocations: 4.476 MB / 0.5875 GB, free: 7.996 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003003/0.7655, allocations: 1.337 MB / 0.5888 GB, free: 6.645 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004529/0.77, allocations: 1.727 MB / 0.5905 GB, free: 4.902 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.7702, allocations: 309.1 kB / 0.5908 GB, free: 4.598 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007694/0.7779, allocations: 4.269 MB / 0.5949 GB, free: 328 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2198/0.9977, allocations: 8.86 MB / 0.6036 GB, free: 143.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/1.015, allocations: 13.89 MB / 0.6172 GB, free: 133.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002872/1.016, allocations: 49.83 kB / 0.6172 GB, free: 133.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.03843/1.054, allocations: 17.55 MB / 0.6343 GB, free: 124.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/1.054, allocations: 72.22 kB / 0.6344 GB, free: 124.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002426/1.055, allocations: 160 kB / 0.6346 GB, free: 124.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0182/1.073, allocations: 5.609 MB / 0.64 GB, free: 119.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006613/1.079, allocations: 1.903 MB / 0.6419 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03069/1.11, allocations: 22.9 MB / 0.6643 GB, free: 95.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009822/1.12, allocations: 0.6411 MB / 0.6649 GB, free: 94.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002291/1.122, allocations: 476 kB / 0.6653 GB, free: 93.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 709 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1023): * Single equations (assignments): 1019 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007623/1.13, allocations: 3.136 MB / 0.6684 GB, free: 90.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002702/1.132, allocations: 0.5999 MB / 0.669 GB, free: 90.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02385/1.156, allocations: 11 MB / 0.6797 GB, free: 79.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.735e-05/1.156, allocations: 36 kB / 0.6798 GB, free: 79.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.265e-05/1.156, allocations: 12 kB / 0.6798 GB, free: 79.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.722e-05/1.157, allocations: 19.94 kB / 0.6798 GB, free: 79.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04493/1.201, allocations: 19.64 MB / 0.699 GB, free: 59.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.604e-05/1.202, allocations: 8 kB / 0.699 GB, free: 59.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/1.204, allocations: 0.5226 MB / 0.6995 GB, free: 59.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01708/1.221, allocations: 5.153 MB / 0.7045 GB, free: 54.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001026/1.222, allocations: 71.92 kB / 0.7046 GB, free: 54.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02905/1.252, allocations: 20.36 MB / 0.7245 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/1.252, allocations: 16.66 kB / 0.7245 GB, free: 33.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03141/1.283, allocations: 16.28 MB / 0.7404 GB, free: 17.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004362/1.287, allocations: 1.198 MB / 0.7416 GB, free: 16.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00233/1.29, allocations: 67.98 kB / 0.7416 GB, free: 16.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005398/1.295, allocations: 367.4 kB / 0.742 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001471/1.296, allocations: 254.1 kB / 0.7422 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007402/1.297, allocations: 92 kB / 0.7423 GB, free: 15.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007674/1.305, allocations: 3.512 MB / 0.7457 GB, free: 11.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.305, allocations: 0 / 0.7457 GB, free: 11.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01274/1.318, allocations: 2.033 MB / 0.7477 GB, free: 9.922 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (271): * Single equations (assignments): 267 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/1.319, allocations: 293.3 kB / 0.748 GB, free: 9.652 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2098/1.529, allocations: 9.752 MB / 0.7575 GB, free: 136.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.18e-05/1.529, allocations: 0 / 0.7575 GB, free: 136.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005669/1.535, allocations: 3.679 MB / 0.7611 GB, free: 136.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005171/1.54, allocations: 0.6991 MB / 0.7618 GB, free: 136.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/1.57, allocations: 16.6 MB / 0.778 GB, free: 129.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005461/1.575, allocations: 4.361 MB / 0.7823 GB, free: 128.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005781/1.581, allocations: 2.554 MB / 0.7848 GB, free: 128 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.582, allocations: 340.3 kB / 0.7851 GB, free: 128 MB / 442.7 MB Notification: Performance of SimCode: time 1.814e-06/1.582, allocations: 2.844 kB / 0.7851 GB, free: 128 MB / 442.7 MB Notification: Performance of Templates: time 0.1134/1.695, allocations: 77.75 MB / 0.861 GB, free: 53.42 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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: 8.81318671698682]