Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009776/0.0009776, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009851/0.0009851, allocations: 165.8 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2527/0.2527, allocations: 32.81 MB / 294.6 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 376 MB, free: 5.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.537e-05, allocations: 8.281 kB / 376 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01192/0.01195, allocations: 15.37 MB / 391.3 MB, free: 5.598 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.02209, allocations: 5.362 MB / 396.7 MB, free: 224 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003622/0.02571, allocations: 135.3 kB / 396.8 MB, free: 88 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009236/0.03495, allocations: 5.487 MB / 402.3 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006333/0.04128, allocations: 2.772 MB / 405.1 MB, free: 7.797 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.04391, allocations: 1.567 MB / 406.7 MB, free: 6.227 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01067/0.05459, allocations: 9.354 MB / 416 MB, free: 12.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009987/0.06457, allocations: 6.15 MB / 422.2 MB, free: 6.617 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0114/0.07597, allocations: 4.273 MB / 426.4 MB, free: 2.336 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007967/0.08394, allocations: 4.264 MB / 430.7 MB, free: 14.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002441/0.08638, allocations: 0.6523 MB / 431.4 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004766/0.09115, allocations: 1.74 MB / 433.1 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005186/0.09633, allocations: 3.616 MB / 436.7 MB, free: 8.043 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004347/0.1007, allocations: 2.275 MB / 439 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2086/0.3092, allocations: 7.559 MB / 446.6 MB, free: 67.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3093, allocations: 0 / 446.6 MB, free: 67.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3093, allocations: 6.469 kB / 446.6 MB, free: 67.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003337/0.3096, allocations: 0 / 446.6 MB, free: 67.61 MB / 410.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.01477/0.3244, allocations: 8.594 MB / 455.2 MB, free: 64.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.3244, allocations: 12.81 kB / 455.2 MB, free: 64.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008667/0.3331, allocations: 3.766 MB / 458.9 MB, free: 64.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008124/0.3412, allocations: 4.449 MB / 463.4 MB, free: 63.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.3414, allocations: 383.7 kB / 463.8 MB, free: 63.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.3428, allocations: 0.5052 MB / 464.3 MB, free: 63.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.359, allocations: 9.467 MB / 473.7 MB, free: 59.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002417/0.3592, allocations: 67.44 kB / 473.8 MB, free: 59.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006893/0.3599, allocations: 235.6 kB / 474 MB, free: 59.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/0.3624, allocations: 2.545 MB / 476.6 MB, free: 59.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.3779, allocations: 5.303 MB / 481.9 MB, free: 58.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0491/0.427, allocations: 59.36 MB / 0.5285 GB, free: 27.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00965/0.4367, allocations: 4.06 MB / 0.5325 GB, free: 27.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.4386, allocations: 1.105 MB / 0.5336 GB, free: 27.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01007/0.4487, allocations: 6.95 MB / 0.5404 GB, free: 21.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.188e-05/0.4487, allocations: 64.92 kB / 0.5404 GB, free: 21.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 6.843e-06/0.4487, allocations: 0 / 0.5404 GB, free: 21.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=343): time 0.06485/0.5136, allocations: 28.09 MB / 0.5679 GB, free: 9.688 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5137, allocations: 242.1 kB / 0.5681 GB, free: 9.402 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005847/0.5196, allocations: 4.879 MB / 0.5729 GB, free: 4.531 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007734/0.5203, allocations: 80.36 kB / 0.5729 GB, free: 4.449 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002486/0.5228, allocations: 4.709 MB / 0.5775 GB, free: 15.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001435/0.5242, allocations: 1.346 MB / 0.5788 GB, free: 14.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001835/0.5261, allocations: 1.835 MB / 0.5806 GB, free: 12.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5262, allocations: 480.7 kB / 0.5811 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/0.5283, allocations: 1.337 MB / 0.5824 GB, free: 10.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005518/0.5338, allocations: 8.155 MB / 0.5904 GB, free: 15.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/0.5446, allocations: 10.54 MB / 0.6007 GB, free: 2.465 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/0.5448, allocations: 44 kB / 0.6007 GB, free: 2.422 MB / 474.7 MB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.197/0.7418, allocations: 10.19 MB / 0.6107 GB, free: 138.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-05/0.7419, allocations: 76.22 kB / 0.6107 GB, free: 138.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001713/0.7421, allocations: 158.9 kB / 0.6109 GB, free: 138.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008413/0.7505, allocations: 3.175 MB / 0.614 GB, free: 138.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004435/0.7549, allocations: 1.898 MB / 0.6158 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/0.769, allocations: 8.315 MB / 0.624 GB, free: 136.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006233/0.7753, allocations: 0.5881 MB / 0.6245 GB, free: 136.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009916/0.7763, allocations: 481.8 kB / 0.625 GB, free: 136.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * 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 (1027): * Single equations (assignments): 1023 * 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.00243/0.7787, allocations: 0.8187 MB / 0.6258 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/0.78, allocations: 0.6058 MB / 0.6264 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/0.7908, allocations: 5.409 MB / 0.6317 GB, free: 135.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.301e-05/0.7909, allocations: 38.34 kB / 0.6317 GB, free: 135.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-05/0.7909, allocations: 15.25 kB / 0.6317 GB, free: 135.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.938e-05/0.791, allocations: 16.92 kB / 0.6317 GB, free: 135.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02617/0.8172, allocations: 12.68 MB / 0.6441 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/0.8172, allocations: 7.844 kB / 0.6441 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.8187, allocations: 0.4888 MB / 0.6446 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007691/0.8264, allocations: 2.791 MB / 0.6473 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006805/0.8271, allocations: 68.05 kB / 0.6474 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/0.8373, allocations: 6.738 MB / 0.654 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.8373, allocations: 15.88 kB / 0.654 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/0.8493, allocations: 6.983 MB / 0.6608 GB, free: 121.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/0.851, allocations: 0.5245 MB / 0.6613 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/0.8523, allocations: 63.98 kB / 0.6614 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/0.8546, allocations: 303 kB / 0.6617 GB, free: 120.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007727/0.8554, allocations: 238.1 kB / 0.6619 GB, free: 120.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001997/0.8556, allocations: 91.98 kB / 0.662 GB, free: 120.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003465/0.8591, allocations: 2.197 MB / 0.6641 GB, free: 118.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8591, allocations: 0 / 0.6641 GB, free: 118.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008156/0.8672, allocations: 1.963 MB / 0.666 GB, free: 116.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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.0009356/0.8682, allocations: 273.8 kB / 0.6663 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007962/0.8761, allocations: 5.351 MB / 0.6715 GB, free: 110.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.8761, allocations: 4 kB / 0.6715 GB, free: 110.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.8788, allocations: 1.88 MB / 0.6734 GB, free: 108.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/0.8822, allocations: 0.6761 MB / 0.674 GB, free: 108 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/0.8998, allocations: 12.72 MB / 0.6865 GB, free: 95.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.902, allocations: 2.008 MB / 0.6884 GB, free: 93.02 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003707/0.9057, allocations: 2.123 MB / 0.6905 GB, free: 90.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.9067, allocations: 344.4 kB / 0.6908 GB, free: 90.57 MB / 474.7 MB Notification: Performance of SimCode: time 2.224e-06/0.9067, allocations: 4 kB / 0.6908 GB, free: 90.57 MB / 474.7 MB Notification: Performance of Templates: time 0.08786/0.9946, allocations: 74.32 MB / 0.7634 GB, free: 16.87 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.832559468923137]