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.001068/0.001068, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001284/0.001284, allocations: 169 kB / 24.91 MB, free: 8.723 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.9081/0.9081, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1516/0.1516, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.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 1.493e-06/1.493e-06, allocations: 0 / 325.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.826e-05/3.976e-05, allocations: 4.844 kB / 325.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01187/0.01191, allocations: 14.08 MB / 339.3 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1771/0.189, allocations: 4.894 MB / 344.2 MB, free: 19.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.1915, allocations: 111.1 kB / 344.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004837/0.1963, allocations: 3.375 MB / 347.7 MB, free: 19.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005885/0.2022, allocations: 2.728 MB / 350.4 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.2042, allocations: 1.116 MB / 351.5 MB, free: 18.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007847/0.2121, allocations: 7.791 MB / 359.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005073/0.2171, allocations: 4.358 MB / 363.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008197/0.2253, allocations: 4.409 MB / 368.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/0.2294, allocations: 3.408 MB / 371.5 MB, free: 3.738 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00132/0.2307, allocations: 492 kB / 372 MB, free: 3.258 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.2333, allocations: 1.46 MB / 373.4 MB, free: 1.844 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002835/0.2361, allocations: 3.056 MB / 376.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003505/0.2397, allocations: 1.85 MB / 378.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009663/0.2493, allocations: 6.868 MB / 385.2 MB, free: 6.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2493, allocations: 4 kB / 385.2 MB, free: 6.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2493, allocations: 4 kB / 385.2 MB, free: 6.488 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003016/0.2496, allocations: 0 / 385.2 MB, free: 6.488 MB / 330.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.01112/0.2607, allocations: 6.561 MB / 391.8 MB, free: 452 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2608, allocations: 12.03 kB / 391.8 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007056/0.2678, allocations: 1.824 MB / 393.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005115/0.273, allocations: 2.818 MB / 396.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.2733, allocations: 315.4 kB / 396.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/0.2744, allocations: 428.9 kB / 397.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/0.2886, allocations: 7.331 MB / 404.5 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/0.2888, allocations: 52.84 kB / 404.6 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007355/0.2895, allocations: 203.8 kB / 404.8 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00387/0.2934, allocations: 2.861 MB / 407.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.3039, allocations: 3.935 MB / 411.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04476/0.3486, allocations: 43.35 MB / 454.9 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005706/0.3543, allocations: 2.572 MB / 457.5 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.3555, allocations: 0.7354 MB / 458.2 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.366, allocations: 6.652 MB / 464.9 MB, free: 5.031 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.366, allocations: 60.5 kB / 464.9 MB, free: 4.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 5.51e-06/0.366, allocations: 0 / 464.9 MB, free: 4.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.02344/0.3895, allocations: 9.901 MB / 474.8 MB, free: 11.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/0.3895, allocations: 209.9 kB / 475 MB, free: 10.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0044/0.3939, allocations: 4.322 MB / 479.3 MB, free: 6.531 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004611/0.3944, allocations: 73.69 kB / 479.4 MB, free: 6.453 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002354/0.3968, allocations: 4.332 MB / 483.8 MB, free: 2.074 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/0.3981, allocations: 1.17 MB / 484.9 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/0.3997, allocations: 1.665 MB / 486.6 MB, free: 15.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.3998, allocations: 309.1 kB / 486.9 MB, free: 14.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/0.4022, allocations: 1.268 MB / 488.2 MB, free: 13.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00543/0.4077, allocations: 6.269 MB / 494.4 MB, free: 4.805 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009008/0.4167, allocations: 8.196 MB / 0.4908 GB, free: 10.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001715/0.4169, allocations: 56 kB / 0.4909 GB, free: 9.977 MB / 458.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.01439/0.4312, allocations: 6.435 MB / 0.4972 GB, free: 3.496 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.4314, allocations: 84 kB / 0.4973 GB, free: 3.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002274/0.4316, allocations: 180 kB / 0.4974 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/0.4342, allocations: 0.8363 MB / 0.4982 GB, free: 2.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005778/0.44, allocations: 1.977 MB / 0.5002 GB, free: 428 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1674/0.6074, allocations: 4.354 MB / 0.5044 GB, free: 135.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005536/0.6129, allocations: 372.7 kB / 0.5048 GB, free: 135.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/0.6141, allocations: 444.7 kB / 0.5052 GB, free: 135.4 MB / 458.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.002693/0.6168, allocations: 0.8321 MB / 0.506 GB, free: 135.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/0.6179, allocations: 323.5 kB / 0.5063 GB, free: 135.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00467/0.6225, allocations: 2.137 MB / 0.5084 GB, free: 135.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.024e-05/0.6226, allocations: 56.33 kB / 0.5085 GB, free: 135.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/0.6226, allocations: 5.172 kB / 0.5085 GB, free: 135.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.134e-05/0.6227, allocations: 13.7 kB / 0.5085 GB, free: 135.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.6369, allocations: 6.37 MB / 0.5147 GB, free: 134.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.6369, allocations: 7.5 kB / 0.5147 GB, free: 134.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/0.6385, allocations: 405.2 kB / 0.5151 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/0.6408, allocations: 0.797 MB / 0.5159 GB, free: 134.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/0.6411, allocations: 53.06 kB / 0.5159 GB, free: 134 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003327/0.6444, allocations: 3.438 MB / 0.5193 GB, free: 131.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.6444, allocations: 10.62 kB / 0.5193 GB, free: 131.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005227/0.6496, allocations: 3.113 MB / 0.5223 GB, free: 130.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.6507, allocations: 438.3 kB / 0.5228 GB, free: 130.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005553/0.6512, allocations: 52.31 kB / 0.5228 GB, free: 130.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.6525, allocations: 50.98 kB / 0.5229 GB, free: 130.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.6529, allocations: 179.5 kB / 0.523 GB, free: 130.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/0.653, allocations: 62 kB / 0.5231 GB, free: 130 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00174/0.6548, allocations: 1.587 MB / 0.5246 GB, free: 129.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 3e-07/0.6548, allocations: 0 / 0.5246 GB, free: 129.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006274/0.661, allocations: 1.562 MB / 0.5262 GB, free: 129.7 MB / 458.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.0005434/0.6616, allocations: 197.8 kB / 0.5264 GB, free: 129.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004871/0.6665, allocations: 3.904 MB / 0.5302 GB, free: 128.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002553/0.6667, allocations: 114.2 kB / 0.5303 GB, free: 128.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.6679, allocations: 0.9809 MB / 0.5312 GB, free: 128.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/0.6711, allocations: 0.8635 MB / 0.5321 GB, free: 127.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.686, allocations: 11.36 MB / 0.5432 GB, free: 117.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/0.688, allocations: 1.822 MB / 0.5449 GB, free: 115.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002199/0.6902, allocations: 0.7116 MB / 0.5456 GB, free: 115 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/0.6913, allocations: 0.7394 MB / 0.5464 GB, free: 114.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.405e-06/0.6913, allocations: 0 / 0.5464 GB, free: 114.3 MB / 458.7 MB Notification: Performance of Templates: time 0.06559/0.7569, allocations: 51.04 MB / 0.5962 GB, free: 63.77 MB / 458.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 -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.5617032763548195]