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.001844/0.001844, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002338/0.002338, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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.557/1.557, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2902/0.2902, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 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 0.002063/0.002063, allocations: 64.09 kB / 0.4914 GB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.148, allocations: 66 MB / 0.5558 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01758/0.1655, allocations: 15.06 MB / 0.5705 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.1768, allocations: 4.842 MB / 0.5753 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.1793, allocations: 107.5 kB / 0.5754 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006584/0.1859, allocations: 3.2 MB / 0.5785 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007082/0.1929, allocations: 2.592 MB / 0.581 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.1954, allocations: 0.9866 MB / 0.582 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.2066, allocations: 7.047 MB / 0.5889 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3244/0.531, allocations: 3.715 MB / 0.5925 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005331/0.5363, allocations: 2.252 MB / 0.5947 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006918/0.5433, allocations: 3.531 MB / 0.5982 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002443/0.5457, allocations: 487.9 kB / 0.5986 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004626/0.5503, allocations: 1.53 MB / 0.6001 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004764/0.5551, allocations: 2.921 MB / 0.603 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006806/0.5619, allocations: 3.228 MB / 0.6061 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01652/0.5784, allocations: 10.42 MB / 0.6163 GB, free: 3.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.5784, allocations: 1.125 kB / 0.6163 GB, free: 3.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5784, allocations: 0 / 0.6163 GB, free: 3.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004991/0.5789, allocations: 0 / 0.6163 GB, free: 3.5 MB / 446.1 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.02552/0.6044, allocations: 7.455 MB / 0.6236 GB, free: 15.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.6045, allocations: 9.312 kB / 0.6236 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0192/0.6237, allocations: 3.961 MB / 0.6275 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.6352, allocations: 4.153 MB / 0.6315 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003001/0.6355, allocations: 317.1 kB / 0.6318 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002562/0.6381, allocations: 434.3 kB / 0.6322 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03573/0.6738, allocations: 15.74 MB / 0.6476 GB, free: 13.47 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002234/0.6741, allocations: 59.52 kB / 0.6477 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001063/0.6751, allocations: 204.4 kB / 0.6478 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006681/0.6818, allocations: 3.215 MB / 0.651 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03479/0.7166, allocations: 14.17 MB / 0.6648 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1045/0.8211, allocations: 57.59 MB / 0.7211 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01731/0.8384, allocations: 6.286 MB / 0.7272 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006343/0.8448, allocations: 3.379 MB / 0.7305 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03137/0.8762, allocations: 14.79 MB / 0.745 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.387e-05/0.8762, allocations: 60.55 kB / 0.745 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 6.322e-06/0.8762, allocations: 0 / 0.745 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.179/1.055, allocations: 42.79 MB / 0.7868 GB, free: 14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001839/1.055, allocations: 214 kB / 0.787 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01456/1.07, allocations: 5.471 MB / 0.7923 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001219/1.071, allocations: 75.98 kB / 0.7924 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005065/1.076, allocations: 4.514 MB / 0.7968 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002885/1.079, allocations: 1.331 MB / 0.7981 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004256/1.083, allocations: 1.868 MB / 0.8 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.084, allocations: 313.1 kB / 0.8002 GB, free: 220 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009057/1.093, allocations: 4.834 MB / 0.805 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01514/1.108, allocations: 9.837 MB / 0.8146 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02392/1.132, allocations: 15.62 MB / 0.8298 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001307/1.132, allocations: 52 kB / 0.8299 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.396/1.528, allocations: 19.6 MB / 0.849 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000142/1.528, allocations: 79.83 kB / 0.8491 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003229/1.528, allocations: 172.2 kB / 0.8493 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02716/1.555, allocations: 5.937 MB / 0.8551 GB, free: 221.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00922/1.565, allocations: 2.129 MB / 0.8571 GB, free: 221.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03177/1.596, allocations: 26.15 MB / 0.8827 GB, free: 211.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/1.606, allocations: 0.56 MB / 0.8832 GB, free: 211.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002442/1.609, allocations: 0.5116 MB / 0.8837 GB, free: 211 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * 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 (1099): * Single equations (assignments): 1091 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007998/1.617, allocations: 3.097 MB / 0.8868 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.618, allocations: 0.519 MB / 0.8873 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03268/1.651, allocations: 12.98 MB / 0.8999 GB, free: 200 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/1.651, allocations: 55.98 kB / 0.9 GB, free: 199.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.272e-05/1.651, allocations: 8 kB / 0.9 GB, free: 199.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.93e-05/1.651, allocations: 11.95 kB / 0.9 GB, free: 199.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05391/1.705, allocations: 24.59 MB / 0.924 GB, free: 175 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.948e-05/1.705, allocations: 4 kB / 0.924 GB, free: 175 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003463/1.709, allocations: 0.5892 MB / 0.9246 GB, free: 174.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02042/1.729, allocations: 4.973 MB / 0.9295 GB, free: 169.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00105/1.73, allocations: 53.25 kB / 0.9295 GB, free: 169.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02402/1.754, allocations: 21.35 MB / 0.9504 GB, free: 147.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.754, allocations: 15.94 kB / 0.9504 GB, free: 147.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03464/1.789, allocations: 17.59 MB / 0.9676 GB, free: 130.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/1.79, allocations: 0.5567 MB / 0.9681 GB, free: 129.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001573/1.792, allocations: 56 kB / 0.9681 GB, free: 129.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003849/1.796, allocations: 267.6 kB / 0.9684 GB, free: 129.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001237/1.797, allocations: 194.7 kB / 0.9686 GB, free: 129.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003551/1.797, allocations: 83.98 kB / 0.9687 GB, free: 129.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006038/1.803, allocations: 3.398 MB / 0.972 GB, free: 125.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/1.803, allocations: 4 kB / 0.972 GB, free: 125.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009942/1.813, allocations: 1.745 MB / 0.9737 GB, free: 124.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (257): * Single equations (assignments): 249 * 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,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007851/1.814, allocations: 197.2 kB / 0.9739 GB, free: 124 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01585/1.83, allocations: 10.56 MB / 0.9842 GB, free: 113.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/1.83, allocations: 0 / 0.9842 GB, free: 113.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005492/1.835, allocations: 3.809 MB / 0.9879 GB, free: 109.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004516/1.84, allocations: 0.6054 MB / 0.9885 GB, free: 109 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02564/1.866, allocations: 16.29 MB / 1.004 GB, free: 92.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004882/1.871, allocations: 4.616 MB / 1.009 GB, free: 87.99 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006089/1.877, allocations: 2.982 MB / 1.012 GB, free: 85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/1.878, allocations: 356.6 kB / 1.012 GB, free: 84.66 MB / 0.6544 GB Notification: Performance of SimCode: time 1.092e-06/1.878, allocations: 0 / 1.012 GB, free: 84.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.4369/2.315, allocations: 77.85 MB / 1.088 GB, free: 219 MB / 0.6544 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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: 9.44052105024457]