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.001712/0.001712, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002053/0.002053, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2497/0.2497, allocations: 46.93 MB / 360.9 MB, free: 4.258 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.00209/0.00209, allocations: 67.89 kB / 0.4966 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3821, allocations: 66.03 MB / 0.5611 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01956/0.4017, allocations: 15.1 MB / 0.5759 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.4132, allocations: 4.869 MB / 0.5806 GB, free: 388 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003033/0.4162, allocations: 111.4 kB / 0.5807 GB, free: 276 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007005/0.4232, allocations: 3.212 MB / 0.5839 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007705/0.4309, allocations: 2.607 MB / 0.5864 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.4336, allocations: 0.9827 MB / 0.5874 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.4447, allocations: 7.063 MB / 0.5943 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006335/0.4511, allocations: 3.601 MB / 0.5978 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005107/0.4562, allocations: 2.247 MB / 0.6 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006556/0.4627, allocations: 3.536 MB / 0.6034 GB, free: 8.902 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002597/0.4653, allocations: 484 kB / 0.6039 GB, free: 8.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004709/0.47, allocations: 1.525 MB / 0.6054 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004961/0.475, allocations: 2.925 MB / 0.6082 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007148/0.4822, allocations: 3.227 MB / 0.6114 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01965/0.5018, allocations: 10.41 MB / 0.6216 GB, free: 6.266 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.479e-05/0.5018, allocations: 3.938 kB / 0.6216 GB, free: 6.262 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.5018, allocations: 0 / 0.6216 GB, free: 6.262 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005432/0.5024, allocations: 4 kB / 0.6216 GB, free: 6.258 MB / 462.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.02426/0.5266, allocations: 7.38 MB / 0.6288 GB, free: 14.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.5267, allocations: 8.031 kB / 0.6288 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0229/0.5496, allocations: 3.967 MB / 0.6326 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01941/0.569, allocations: 4.059 MB / 0.6366 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006861/0.5697, allocations: 324.3 kB / 0.6369 GB, free: 6.383 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003515/0.5732, allocations: 435.6 kB / 0.6373 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04642/0.6196, allocations: 15.73 MB / 0.6527 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003716/0.62, allocations: 67.45 kB / 0.6528 GB, free: 5.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002416/0.6224, allocations: 203.8 kB / 0.653 GB, free: 5.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006666/0.6291, allocations: 3.212 MB / 0.6561 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03464/0.6637, allocations: 14.17 MB / 0.6699 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1075/0.7712, allocations: 57.4 MB / 0.726 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01594/0.7871, allocations: 5.38 MB / 0.7312 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3355/1.123, allocations: 3.394 MB / 0.7346 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02368/1.146, allocations: 12.78 MB / 0.747 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/1.146, allocations: 63.08 kB / 0.7471 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 6.563e-06/1.146, allocations: 0 / 0.7471 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.1407/1.287, allocations: 42.65 MB / 0.7888 GB, free: 114 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.287, allocations: 218 kB / 0.789 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009169/1.296, allocations: 5.473 MB / 0.7943 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009591/1.297, allocations: 69.7 kB / 0.7944 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002563/1.3, allocations: 4.519 MB / 0.7988 GB, free: 104 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001565/1.301, allocations: 1.325 MB / 0.8001 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002587/1.304, allocations: 1.869 MB / 0.8019 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.568e-05/1.304, allocations: 305.1 kB / 0.8022 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005855/1.31, allocations: 4.839 MB / 0.8069 GB, free: 95.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007517/1.317, allocations: 9.825 MB / 0.8165 GB, free: 83.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/1.333, allocations: 15.63 MB / 0.8318 GB, free: 65.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001757/1.333, allocations: 48 kB / 0.8318 GB, free: 65.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.0474/1.381, allocations: 19.6 MB / 0.851 GB, free: 45.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002499/1.381, allocations: 80 kB / 0.851 GB, free: 45.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003114/1.381, allocations: 172 kB / 0.8512 GB, free: 45.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02178/1.403, allocations: 5.937 MB / 0.857 GB, free: 39.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007825/1.411, allocations: 2.125 MB / 0.8591 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0307/1.441, allocations: 25.97 MB / 0.8844 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007767/1.449, allocations: 0.5501 MB / 0.885 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001665/1.451, allocations: 0.5156 MB / 0.8855 GB, free: 10.05 MB / 0.5606 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.006126/1.457, allocations: 3.094 MB / 0.8885 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/1.459, allocations: 0.5122 MB / 0.889 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0342/1.493, allocations: 12.98 MB / 0.9017 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/1.493, allocations: 63.89 kB / 0.9017 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-05/1.493, allocations: 12 kB / 0.9018 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.049e-05/1.493, allocations: 11.95 kB / 0.9018 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0649/1.558, allocations: 24.56 MB / 0.9257 GB, free: 244 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-05/1.558, allocations: 8 kB / 0.9258 GB, free: 236 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003953/1.562, allocations: 0.5779 MB / 0.9263 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02163/1.583, allocations: 4.973 MB / 0.9312 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007708/1.584, allocations: 60 kB / 0.9312 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04997/1.634, allocations: 21.15 MB / 0.9519 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/1.634, allocations: 4 kB / 0.9519 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05492/1.689, allocations: 17.59 MB / 0.9691 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/1.691, allocations: 496.3 kB / 0.9695 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001644/1.693, allocations: 55.98 kB / 0.9696 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004205/1.697, allocations: 259.6 kB / 0.9698 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/1.698, allocations: 213.5 kB / 0.97 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005819/1.699, allocations: 84 kB / 0.9701 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.3541/2.053, allocations: 3.386 MB / 0.9734 GB, free: 226.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/2.053, allocations: 0.625 kB / 0.9734 GB, free: 226.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01148/2.064, allocations: 1.74 MB / 0.9751 GB, free: 226.6 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.001057/2.065, allocations: 202.3 kB / 0.9753 GB, free: 226.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01692/2.082, allocations: 10.56 MB / 0.9856 GB, free: 224.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/2.082, allocations: 3.438 kB / 0.9856 GB, free: 224.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006302/2.088, allocations: 3.82 MB / 0.9894 GB, free: 222.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/2.093, allocations: 0.6032 MB / 0.99 GB, free: 222.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/2.12, allocations: 16.44 MB / 1.006 GB, free: 215.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006255/2.126, allocations: 4.617 MB / 1.011 GB, free: 212.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006259/2.132, allocations: 2.977 MB / 1.013 GB, free: 210.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/2.134, allocations: 355.6 kB / 1.014 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.542e-06/2.134, allocations: 0 / 1.014 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.1185/2.252, allocations: 80.5 MB / 1.092 GB, free: 131.5 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.766141618834808]