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.0009947/0.0009947, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009496/0.0009496, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9308/0.9308, allocations: 177.1 MB / 205 MB, free: 5.617 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.2511/0.2511, allocations: 34.26 MB / 295.7 MB, free: 0.7773 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 1.553e-06/1.553e-06, allocations: 3.938 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.28e-05, allocations: 8.078 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.0115/0.01152, allocations: 14.45 MB / 392.5 MB, free: 4.152 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008886/0.02041, allocations: 4.748 MB / 397.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.02227, allocations: 107.5 kB / 397.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003615/0.02589, allocations: 3.383 MB / 400.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004536/0.03042, allocations: 2.695 MB / 403.4 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.03228, allocations: 1.123 MB / 404.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007999/0.04028, allocations: 7.814 MB / 412.3 MB, free: 240 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004526/0.04481, allocations: 4.235 MB / 416.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004199/0.04901, allocations: 3.387 MB / 420 MB, free: 8.535 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003446/0.05245, allocations: 3.652 MB / 423.6 MB, free: 4.875 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006744/0.05313, allocations: 496 kB / 424.1 MB, free: 4.391 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.05498, allocations: 1.471 MB / 425.6 MB, free: 2.918 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002195/0.05717, allocations: 3.062 MB / 428.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001691/0.05886, allocations: 1.861 MB / 430.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006336/0.0652, allocations: 6.893 MB / 437.4 MB, free: 7.062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.0652, allocations: 4 kB / 437.4 MB, free: 7.059 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.06521, allocations: 0 / 437.4 MB, free: 7.059 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001014/0.06531, allocations: 3.938 kB / 437.4 MB, free: 7.055 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.1604/0.2257, allocations: 7.942 MB / 445.3 MB, free: 91.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2258, allocations: 9.812 kB / 445.3 MB, free: 91.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008822/0.2346, allocations: 4.683 MB / 450 MB, free: 91.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004864/0.2395, allocations: 3.672 MB / 453.7 MB, free: 91.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.2396, allocations: 318.5 kB / 454 MB, free: 91.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005518/0.2402, allocations: 435.6 kB / 454.4 MB, free: 91.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.2502, allocations: 9.001 MB / 463.4 MB, free: 86.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.2503, allocations: 60.53 kB / 463.5 MB, free: 86.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003702/0.2507, allocations: 202.6 kB / 463.7 MB, free: 86.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002527/0.2532, allocations: 3.216 MB / 466.9 MB, free: 85.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009686/0.2629, allocations: 5.228 MB / 472.1 MB, free: 85.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04028/0.3032, allocations: 60.01 MB / 0.5197 GB, free: 35.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005751/0.3089, allocations: 3.043 MB / 0.5226 GB, free: 32.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.3103, allocations: 1.197 MB / 0.5238 GB, free: 31.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009038/0.3193, allocations: 8.327 MB / 0.5319 GB, free: 23.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.3194, allocations: 67.33 kB / 0.532 GB, free: 23.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 3.928e-06/0.3194, allocations: 0 / 0.532 GB, free: 23.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=342): time 0.05068/0.37, allocations: 27.26 MB / 0.5586 GB, free: 12.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/0.3701, allocations: 213.9 kB / 0.5588 GB, free: 12.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005161/0.3753, allocations: 4.72 MB / 0.5634 GB, free: 7.461 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002538/0.3755, allocations: 73.7 kB / 0.5635 GB, free: 7.383 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002506/0.378, allocations: 4.717 MB / 0.5681 GB, free: 2.688 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.3791, allocations: 1.362 MB / 0.5695 GB, free: 1.344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001996/0.3811, allocations: 1.925 MB / 0.5713 GB, free: 15.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3812, allocations: 480.8 kB / 0.5718 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002463/0.3836, allocations: 1.681 MB / 0.5734 GB, free: 13.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005778/0.3894, allocations: 9.088 MB / 0.5823 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009523/0.3989, allocations: 11.73 MB / 0.5938 GB, free: 1.766 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-05/0.399, allocations: 52 kB / 0.5938 GB, free: 1.715 MB / 458.7 MB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.02406/0.423, allocations: 12.34 MB / 0.6059 GB, free: 5.332 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.4232, allocations: 81 kB / 0.6059 GB, free: 5.254 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/0.4233, allocations: 172 kB / 0.6061 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01291/0.4362, allocations: 4.866 MB / 0.6109 GB, free: 216 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1763/0.6125, allocations: 2.119 MB / 0.6129 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/0.6246, allocations: 9.355 MB / 0.6221 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00551/0.6301, allocations: 0.6158 MB / 0.6227 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000687/0.6308, allocations: 0.5074 MB / 0.6232 GB, free: 125.8 MB / 474.7 MB 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 (1095): * Single equations (assignments): 1087 * 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.002181/0.633, allocations: 0.8562 MB / 0.624 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008478/0.6338, allocations: 0.5573 MB / 0.6245 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/0.6482, allocations: 7.29 MB / 0.6317 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.039e-05/0.6483, allocations: 56.78 kB / 0.6317 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/0.6483, allocations: 14.09 kB / 0.6317 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.6483, allocations: 13.12 kB / 0.6317 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02553/0.6739, allocations: 15.82 MB / 0.6472 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.6739, allocations: 6.438 kB / 0.6472 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/0.6756, allocations: 0.5802 MB / 0.6478 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0117/0.6873, allocations: 4.269 MB / 0.6519 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002547/0.6875, allocations: 61.53 kB / 0.652 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009577/0.6971, allocations: 8.146 MB / 0.6599 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.6971, allocations: 11.22 kB / 0.6599 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/0.7122, allocations: 8.388 MB / 0.6681 GB, free: 112.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007857/0.713, allocations: 479.3 kB / 0.6686 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004291/0.7134, allocations: 61.75 kB / 0.6687 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/0.715, allocations: 305.2 kB / 0.6689 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000395/0.7154, allocations: 212.6 kB / 0.6692 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/0.7156, allocations: 78.72 kB / 0.6692 GB, free: 112.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002566/0.7182, allocations: 2.01 MB / 0.6712 GB, free: 111.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7182, allocations: 5.906 kB / 0.6712 GB, free: 111.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004888/0.7231, allocations: 1.865 MB / 0.673 GB, free: 110 MB / 474.7 MB 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.0004747/0.7235, allocations: 227 kB / 0.6732 GB, free: 109.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007422/0.731, allocations: 5.906 MB / 0.679 GB, free: 103.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.731, allocations: 4 kB / 0.679 GB, free: 103.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.7331, allocations: 1.974 MB / 0.6809 GB, free: 101.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.7348, allocations: 0.5413 MB / 0.6815 GB, free: 101.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.7476, allocations: 12.54 MB / 0.6937 GB, free: 88.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.749, allocations: 1.872 MB / 0.6955 GB, free: 86.83 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003115/0.7521, allocations: 2.375 MB / 0.6978 GB, free: 84.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009275/0.7531, allocations: 344.4 kB / 0.6982 GB, free: 84.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.713e-06/0.7531, allocations: 0 / 0.6982 GB, free: 84.12 MB / 474.7 MB Notification: Performance of Templates: time 0.08136/0.8344, allocations: 75.21 MB / 0.7716 GB, free: 9.336 MB / 474.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: 5.331074460875243]