Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.0009556/0.0009556, 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.000997/0.000997, allocations: 168.8 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.9146/0.9146, allocations: 177.1 MB / 205.3 MB, free: 5.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.2524/0.2524, allocations: 34.26 MB / 296.1 MB, free: 0.7109 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.12e-05, allocations: 5.641 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01389/0.01391, allocations: 12.64 MB / 337.9 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0077/0.02161, allocations: 4.89 MB / 342.8 MB, free: 6.098 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.0228, allocations: 111.4 kB / 342.9 MB, free: 5.988 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003666/0.02646, allocations: 3.999 MB / 346.9 MB, free: 1.977 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003241/0.0297, allocations: 2.325 MB / 349.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.03128, allocations: 1.193 MB / 350.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00577/0.03705, allocations: 7.705 MB / 358.1 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003644/0.04069, allocations: 4.537 MB / 362.6 MB, free: 2.102 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003671/0.04436, allocations: 4.195 MB / 366.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/0.04676, allocations: 2.989 MB / 369.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003829/0.04715, allocations: 432 kB / 370.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.04859, allocations: 1.385 MB / 371.6 MB, free: 9.094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.05009, allocations: 2.665 MB / 374.3 MB, free: 6.422 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.05126, allocations: 1.647 MB / 375.9 MB, free: 4.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004045/0.05531, allocations: 5.761 MB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.05531, allocations: 0 / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.05531, allocations: 0 / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.914e-05/0.05535, allocations: 0 / 381.7 MB, free: 14.99 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.005498/0.06085, allocations: 5.766 MB / 387.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.06088, allocations: 12.02 kB / 387.5 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.06377, allocations: 1.296 MB / 388.8 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.06674, allocations: 2.709 MB / 391.5 MB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.06688, allocations: 283.7 kB / 391.7 MB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004128/0.06729, allocations: 392.1 kB / 392.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006178/0.07347, allocations: 5.831 MB / 398 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.07358, allocations: 55.56 kB / 398 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.07389, allocations: 187.8 kB / 398.2 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001732/0.07562, allocations: 1.929 MB / 400.1 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004956/0.08058, allocations: 2.928 MB / 403.1 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0265/0.1071, allocations: 36.17 MB / 439.2 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/0.1114, allocations: 2.112 MB / 441.3 MB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.1119, allocations: 444.5 kB / 441.8 MB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005945/0.1178, allocations: 4.505 MB / 446.3 MB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1179, allocations: 47.56 kB / 446.3 MB, free: 11.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=160): time 3.216e-06/0.1179, allocations: 0 / 446.3 MB, free: 11.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=192): time 0.02392/0.1418, allocations: 9.878 MB / 456.2 MB, free: 2.129 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.1418, allocations: 201.2 kB / 456.4 MB, free: 1.891 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1795/0.3214, allocations: 3.839 MB / 460.2 MB, free: 125.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003321/0.3217, allocations: 52.11 kB / 460.3 MB, free: 125.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.3231, allocations: 3.53 MB / 463.8 MB, free: 123.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.3236, allocations: 0.7765 MB / 464.6 MB, free: 123.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009828/0.3246, allocations: 1.319 MB / 465.9 MB, free: 123 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.124e-05/0.3246, allocations: 301.7 kB / 466.2 MB, free: 122.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.3258, allocations: 0.8614 MB / 467.1 MB, free: 122.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/0.328, allocations: 4.978 MB / 472 MB, free: 117.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/0.3319, allocations: 6.427 MB / 478.5 MB, free: 111.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.881e-05/0.332, allocations: 40.34 kB / 478.5 MB, free: 111.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.006015/0.338, allocations: 5.093 MB / 483.6 MB, free: 110.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.3381, allocations: 69.09 kB / 483.7 MB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/0.3382, allocations: 152.1 kB / 483.8 MB, free: 110 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.3401, allocations: 0.9936 MB / 484.8 MB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/0.3424, allocations: 1.541 MB / 486.4 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/0.3469, allocations: 6.949 MB / 493.3 MB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.3494, allocations: 307.1 kB / 493.6 MB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/0.3497, allocations: 359.8 kB / 494 MB, free: 100.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (851): * Single equations (assignments): 844 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001175/0.3508, allocations: 0.6831 MB / 494.6 MB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.3512, allocations: 269.9 kB / 494.9 MB, free: 100 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.3531, allocations: 1.468 MB / 496.4 MB, free: 98.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.3531, allocations: 23.94 kB / 496.4 MB, free: 98.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3531, allocations: 4 kB / 496.4 MB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.3531, allocations: 7.734 kB / 496.4 MB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006444/0.3595, allocations: 5.824 MB / 0.4905 GB, free: 93.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.3596, allocations: 8 kB / 0.4905 GB, free: 93.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.36, allocations: 247.6 kB / 0.4907 GB, free: 93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.3618, allocations: 0.9557 MB / 0.4916 GB, free: 92.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.439e-05/0.3619, allocations: 39.98 kB / 0.4917 GB, free: 91.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/0.3654, allocations: 6.162 MB / 0.4977 GB, free: 85.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.3654, allocations: 11.94 kB / 0.4977 GB, free: 85.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.3679, allocations: 2.449 MB / 0.5001 GB, free: 82.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.3684, allocations: 397 kB / 0.5005 GB, free: 82.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/0.3687, allocations: 40 kB / 0.5005 GB, free: 82.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/0.3694, allocations: 41.03 kB / 0.5006 GB, free: 82.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.3696, allocations: 148.7 kB / 0.5007 GB, free: 82.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.3697, allocations: 43.98 kB / 0.5007 GB, free: 82.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001064/0.3707, allocations: 1.461 MB / 0.5022 GB, free: 80.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3707, allocations: 3.938 kB / 0.5022 GB, free: 80.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004712/0.3754, allocations: 1.277 MB / 0.5034 GB, free: 79.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (144): * Single equations (assignments): 137 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004361/0.3759, allocations: 177.7 kB / 0.5036 GB, free: 79.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004455/0.3803, allocations: 3.408 MB / 0.5069 GB, free: 75.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002407/0.3806, allocations: 108.2 kB / 0.507 GB, free: 75.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.3818, allocations: 1.145 MB / 0.5081 GB, free: 74.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/0.3848, allocations: 0.7652 MB / 0.5089 GB, free: 73.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.3959, allocations: 8.974 MB / 0.5176 GB, free: 64.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.3972, allocations: 1.503 MB / 0.5191 GB, free: 63.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001609/0.3988, allocations: 0.5719 MB / 0.5197 GB, free: 62.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008317/0.3996, allocations: 0.6417 MB / 0.5203 GB, free: 61.91 MB / 426.7 MB Notification: Performance of SimCode: time 2.735e-06/0.3996, allocations: 0 / 0.5203 GB, free: 61.91 MB / 426.7 MB Notification: Performance of Templates: time 0.05736/0.457, allocations: 43.11 MB / 0.5624 GB, free: 19.18 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.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.171376053709537]