Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001561/0.001561, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001732/0.001732, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2683/0.2683, allocations: 34.25 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.672e-05, allocations: 2.312 kB / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.03477/0.0348, allocations: 15.37 MB / 393.4 MB, free: 3.559 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.05049, allocations: 5.362 MB / 398.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003438/0.05393, allocations: 127.4 kB / 398.9 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005708/0.05964, allocations: 5.495 MB / 404.4 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.06444, allocations: 2.764 MB / 407.1 MB, free: 5.766 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.06637, allocations: 1.579 MB / 408.7 MB, free: 4.184 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006763/0.07313, allocations: 9.343 MB / 418 MB, free: 10.83 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004151/0.07728, allocations: 6.15 MB / 424.2 MB, free: 4.586 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.08058, allocations: 4.273 MB / 428.5 MB, free: 312 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/0.08374, allocations: 4.26 MB / 432.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005416/0.08428, allocations: 0.6523 MB / 433.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.086, allocations: 1.744 MB / 435.1 MB, free: 9.637 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001928/0.08793, allocations: 3.616 MB / 438.7 MB, free: 6.012 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.08953, allocations: 2.267 MB / 441 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1807/0.2703, allocations: 7.565 MB / 448.6 MB, free: 67.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.2703, allocations: 3.188 kB / 448.6 MB, free: 67.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.2703, allocations: 0 / 448.6 MB, free: 67.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005038/0.2708, allocations: 2.938 kB / 448.6 MB, free: 67.27 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.02612/0.2969, allocations: 8.597 MB / 457.2 MB, free: 64.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.297, allocations: 9.062 kB / 457.2 MB, free: 64.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/0.3129, allocations: 3.767 MB / 460.9 MB, free: 63.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/0.326, allocations: 4.455 MB / 465.4 MB, free: 62.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003857/0.3264, allocations: 379.5 kB / 465.8 MB, free: 62.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002445/0.3288, allocations: 0.5097 MB / 466.3 MB, free: 62.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01934/0.3482, allocations: 9.472 MB / 475.8 MB, free: 59.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002022/0.3484, allocations: 59.08 kB / 475.8 MB, free: 59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007535/0.3491, allocations: 232.9 kB / 476 MB, free: 58.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00269/0.3518, allocations: 2.551 MB / 478.6 MB, free: 58.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.3679, allocations: 5.297 MB / 483.9 MB, free: 57.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05505/0.4229, allocations: 59.37 MB / 0.5305 GB, free: 27.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00922/0.4321, allocations: 4.044 MB / 0.5345 GB, free: 26.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.434, allocations: 1.11 MB / 0.5356 GB, free: 25.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.4441, allocations: 6.954 MB / 0.5423 GB, free: 19.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.4441, allocations: 59.39 kB / 0.5424 GB, free: 19.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 5.581e-06/0.4441, allocations: 0 / 0.5424 GB, free: 19.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=343): time 0.06585/0.51, allocations: 28.08 MB / 0.5698 GB, free: 7.891 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.5101, allocations: 243.3 kB / 0.5701 GB, free: 7.605 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007229/0.5173, allocations: 4.879 MB / 0.5748 GB, free: 2.734 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001039/0.5184, allocations: 81.7 kB / 0.5749 GB, free: 2.648 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003422/0.5218, allocations: 4.711 MB / 0.5795 GB, free: 13.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002088/0.5239, allocations: 1.345 MB / 0.5808 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002453/0.5263, allocations: 1.828 MB / 0.5826 GB, free: 10.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5265, allocations: 486.6 kB / 0.5831 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/0.529, allocations: 1.337 MB / 0.5844 GB, free: 8.977 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006219/0.5353, allocations: 8.152 MB / 0.5923 GB, free: 13.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/0.5471, allocations: 10.54 MB / 0.6026 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001557/0.5473, allocations: 44 kB / 0.6027 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.1898/0.7371, allocations: 10.2 MB / 0.6126 GB, free: 137.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.7373, allocations: 73.94 kB / 0.6127 GB, free: 137.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000205/0.7375, allocations: 157.8 kB / 0.6129 GB, free: 137.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008043/0.7455, allocations: 3.179 MB / 0.616 GB, free: 137.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/0.7496, allocations: 1.889 MB / 0.6178 GB, free: 137.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/0.7621, allocations: 8.322 MB / 0.6259 GB, free: 135.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005648/0.7677, allocations: 0.5851 MB / 0.6265 GB, free: 135.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002258/0.77, allocations: 481.3 kB / 0.627 GB, free: 135.4 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.004213/0.7742, allocations: 0.8195 MB / 0.6278 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/0.7757, allocations: 0.6023 MB / 0.6284 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/0.7874, allocations: 5.411 MB / 0.6336 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.689e-05/0.7875, allocations: 35.23 kB / 0.6337 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.781e-05/0.7875, allocations: 18.44 kB / 0.6337 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.05e-05/0.7876, allocations: 16.3 kB / 0.6337 GB, free: 134.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02315/0.8108, allocations: 12.67 MB / 0.6461 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/0.8108, allocations: 8.031 kB / 0.6461 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.8122, allocations: 0.496 MB / 0.6466 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007788/0.82, allocations: 2.788 MB / 0.6493 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007499/0.8207, allocations: 65.06 kB / 0.6494 GB, free: 129.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.8315, allocations: 6.735 MB / 0.6559 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.8315, allocations: 11.94 kB / 0.6559 GB, free: 124.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.8444, allocations: 6.989 MB / 0.6628 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/0.8459, allocations: 0.5257 MB / 0.6633 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008672/0.8468, allocations: 63.98 kB / 0.6633 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.8486, allocations: 304.8 kB / 0.6636 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006051/0.8492, allocations: 238.1 kB / 0.6639 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/0.8494, allocations: 99.98 kB / 0.664 GB, free: 116.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003238/0.8526, allocations: 2.185 MB / 0.6661 GB, free: 114.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8526, allocations: 0 / 0.6661 GB, free: 114.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007864/0.8605, allocations: 1.961 MB / 0.668 GB, free: 112.6 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.001103/0.8616, allocations: 279.9 kB / 0.6683 GB, free: 112.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009075/0.8706, allocations: 5.353 MB / 0.6735 GB, free: 107 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.8706, allocations: 0 / 0.6735 GB, free: 107 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003365/0.874, allocations: 1.887 MB / 0.6753 GB, free: 105.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/0.878, allocations: 0.6906 MB / 0.676 GB, free: 104.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/0.8976, allocations: 12.71 MB / 0.6884 GB, free: 91.48 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002188/0.8998, allocations: 2.008 MB / 0.6904 GB, free: 89.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003644/0.9034, allocations: 2.115 MB / 0.6925 GB, free: 87.33 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.9045, allocations: 344.4 kB / 0.6928 GB, free: 87 MB / 474.7 MB Notification: Performance of SimCode: time 2.695e-06/0.9045, allocations: 0 / 0.6928 GB, free: 87 MB / 474.7 MB Notification: Performance of Templates: time 0.08749/0.992, allocations: 74.33 MB / 0.7654 GB, free: 13.29 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.910297619877383]