Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.0009622/0.0009622, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008849/0.0008849, allocations: 169.1 kB / 24.91 MB, free: 9.191 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 0.9418/0.9418, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.268/0.268, allocations: 34.27 MB / 296.1 MB, free: 0.6523 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.923e-05, allocations: 3.078 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01134/0.01137, allocations: 14.14 MB / 339.4 MB, free: 9.426 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009588/0.02095, allocations: 4.907 MB / 344.3 MB, free: 4.504 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002491/0.02345, allocations: 115.4 kB / 344.4 MB, free: 4.391 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004035/0.02748, allocations: 3.328 MB / 347.8 MB, free: 1.051 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005489/0.03297, allocations: 2.683 MB / 350.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.03487, allocations: 1.115 MB / 351.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009359/0.04423, allocations: 7.789 MB / 359.3 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005898/0.05013, allocations: 4.122 MB / 363.5 MB, free: 1.223 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008099/0.05823, allocations: 4.343 MB / 367.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005532/0.06376, allocations: 3.418 MB / 371.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001841/0.0656, allocations: 492 kB / 371.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003487/0.06909, allocations: 1.506 MB / 373.2 MB, free: 7.457 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003497/0.07259, allocations: 3.05 MB / 376.3 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003734/0.07632, allocations: 1.853 MB / 378.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.0864, allocations: 6.87 MB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.08641, allocations: 0 / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.08641, allocations: 0 / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003062/0.08671, allocations: 0 / 385 MB, free: 11.64 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01616/0.1029, allocations: 6.571 MB / 391.6 MB, free: 5.004 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1029, allocations: 8.031 kB / 391.6 MB, free: 4.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005411/0.1083, allocations: 1.823 MB / 393.4 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004748/0.1131, allocations: 2.819 MB / 396.2 MB, free: 300 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002414/0.1133, allocations: 316.5 kB / 396.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/0.1145, allocations: 432.2 kB / 396.9 MB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/0.1278, allocations: 7.325 MB / 404.3 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/0.128, allocations: 63.48 kB / 404.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007124/0.1287, allocations: 203.8 kB / 404.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002441/0.1312, allocations: 2.857 MB / 407.4 MB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.1412, allocations: 3.937 MB / 411.3 MB, free: 172 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2041/0.3453, allocations: 43.33 MB / 454.7 MB, free: 79.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005499/0.3508, allocations: 2.571 MB / 457.2 MB, free: 78.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.352, allocations: 0.7262 MB / 457.9 MB, free: 78.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009658/0.3616, allocations: 6.658 MB / 464.6 MB, free: 78.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.3617, allocations: 57.62 kB / 464.7 MB, free: 78.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 5.941e-06/0.3617, allocations: 0 / 464.7 MB, free: 78.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.02296/0.3846, allocations: 9.902 MB / 474.6 MB, free: 74.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.3847, allocations: 217.1 kB / 474.8 MB, free: 74.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003946/0.3887, allocations: 4.321 MB / 479.1 MB, free: 71.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003383/0.389, allocations: 66.03 kB / 479.2 MB, free: 71.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.3902, allocations: 4.331 MB / 483.5 MB, free: 67.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007665/0.391, allocations: 1.178 MB / 484.7 MB, free: 66.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/0.3923, allocations: 1.661 MB / 486.3 MB, free: 64.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.857e-05/0.3924, allocations: 308.7 kB / 486.6 MB, free: 64.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.3942, allocations: 1.268 MB / 487.9 MB, free: 62.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002768/0.397, allocations: 6.264 MB / 494.2 MB, free: 54.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005249/0.4022, allocations: 8.211 MB / 0.4906 GB, free: 44.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/0.4023, allocations: 52 kB / 0.4907 GB, free: 44.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.00836/0.4107, allocations: 6.438 MB / 0.4969 GB, free: 37.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.525e-05/0.4108, allocations: 90.02 kB / 0.497 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.4109, allocations: 183.3 kB / 0.4972 GB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/0.4127, allocations: 0.834 MB / 0.498 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003848/0.4165, allocations: 2.074 MB / 0.5 GB, free: 34.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.4201, allocations: 4.372 MB / 0.5043 GB, free: 29.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004725/0.4248, allocations: 367.7 kB / 0.5047 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/0.426, allocations: 452 kB / 0.5051 GB, free: 29.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1108): * Single equations (assignments): 1100 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002805/0.4288, allocations: 0.8204 MB / 0.5059 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008768/0.4297, allocations: 335.6 kB / 0.5062 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.4328, allocations: 2.136 MB / 0.5083 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/0.4329, allocations: 55.98 kB / 0.5084 GB, free: 25.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.4329, allocations: 7 kB / 0.5084 GB, free: 25.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.4329, allocations: 15.89 kB / 0.5084 GB, free: 25.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/0.4455, allocations: 6.369 MB / 0.5146 GB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.4455, allocations: 8 kB / 0.5146 GB, free: 19.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/0.4476, allocations: 0.6653 MB / 0.5153 GB, free: 18.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/0.4494, allocations: 0.5713 MB / 0.5158 GB, free: 17.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/0.4497, allocations: 51.98 kB / 0.5159 GB, free: 17.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.453, allocations: 3.438 MB / 0.5192 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.453, allocations: 11.94 kB / 0.5192 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005072/0.4581, allocations: 3.114 MB / 0.5223 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.4592, allocations: 444.6 kB / 0.5227 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005928/0.4598, allocations: 51.98 kB / 0.5227 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.4611, allocations: 52 kB / 0.5228 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003958/0.4615, allocations: 169.6 kB / 0.523 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/0.4617, allocations: 63.98 kB / 0.523 GB, free: 10.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001775/0.4635, allocations: 1.583 MB / 0.5246 GB, free: 8.551 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4635, allocations: 0 / 0.5246 GB, free: 8.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005753/0.4692, allocations: 1.559 MB / 0.5261 GB, free: 6.992 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 2 (j1.phi,j1.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 (239): * Single equations (assignments): 231 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005082/0.4697, allocations: 206.7 kB / 0.5263 GB, free: 6.785 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00565/0.4754, allocations: 3.892 MB / 0.5301 GB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002608/0.4757, allocations: 124.1 kB / 0.5302 GB, free: 2.762 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.4772, allocations: 0.9819 MB / 0.5312 GB, free: 1.766 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/0.4811, allocations: 0.8697 MB / 0.532 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/0.5004, allocations: 11.35 MB / 0.5431 GB, free: 5.387 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002577/0.503, allocations: 1.815 MB / 0.5449 GB, free: 3.535 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002336/0.5053, allocations: 0.712 MB / 0.5456 GB, free: 2.816 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/0.5068, allocations: 0.7433 MB / 0.5463 GB, free: 2.074 MB / 426.7 MB Notification: Performance of SimCode: time 2.916e-06/0.5068, allocations: 0 / 0.5463 GB, free: 2.074 MB / 426.7 MB Notification: Performance of Templates: time 0.08395/0.5908, allocations: 51.04 MB / 0.5961 GB, free: 15.39 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.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: 4.540467013139278]