Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001949/0.001949, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.002332/0.002332, allocations: 157.3 kB / 23.51 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2278/0.2278, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.811e-05, allocations: 10.25 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01349/0.01352, allocations: 13.14 MB / 360.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.02564, allocations: 4.624 MB / 364.7 MB, free: 7.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003101/0.02874, allocations: 111.5 kB / 364.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007631/0.03637, allocations: 3.301 MB / 368.1 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007906/0.04428, allocations: 2.73 MB / 370.8 MB, free: 1.805 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.04743, allocations: 1.131 MB / 372 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01234/0.05977, allocations: 7.348 MB / 379.3 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007339/0.06711, allocations: 4.251 MB / 383.6 MB, free: 4.992 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008186/0.07529, allocations: 3.403 MB / 387 MB, free: 1.582 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007707/0.083, allocations: 3.624 MB / 390.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001995/0.085, allocations: 0.496 MB / 391.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005098/0.09009, allocations: 1.482 MB / 392.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004757/0.09485, allocations: 3.101 MB / 395.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004571/0.09942, allocations: 1.892 MB / 397.6 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01793/0.1173, allocations: 10.68 MB / 408.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.1174, allocations: 0 / 408.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1174, allocations: 0 / 408.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003916/0.1177, allocations: 0 / 408.2 MB, free: 12.25 MB / 346.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.02297/0.1407, allocations: 7.512 MB / 415.7 MB, free: 4.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1408, allocations: 8.031 kB / 415.8 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01955/0.1603, allocations: 4.814 MB / 420.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/0.1725, allocations: 4.192 MB / 424.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/0.1729, allocations: 316.4 kB / 425.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002068/0.175, allocations: 432.2 kB / 425.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1912/0.3662, allocations: 15.91 MB / 441.4 MB, free: 82.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001703/0.3664, allocations: 62.39 kB / 441.5 MB, free: 81.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005957/0.367, allocations: 207.3 kB / 441.7 MB, free: 81.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004533/0.3715, allocations: 3.224 MB / 444.9 MB, free: 81.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02248/0.394, allocations: 14.22 MB / 459.1 MB, free: 71.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09078/0.4848, allocations: 54.15 MB / 0.5012 GB, free: 17.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/0.4976, allocations: 5.494 MB / 0.5066 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004531/0.5021, allocations: 3.459 MB / 0.51 GB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0281/0.5302, allocations: 12.62 MB / 0.5223 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.036e-05/0.5303, allocations: 60.56 kB / 0.5224 GB, free: 11.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=293): time 6.873e-06/0.5303, allocations: 0 / 0.5224 GB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=343): time 0.2522/0.7825, allocations: 49.42 MB / 0.5706 GB, free: 10.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002816/0.7828, allocations: 210 kB / 0.5708 GB, free: 10.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01702/0.7998, allocations: 5.447 MB / 0.5761 GB, free: 4.973 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001189/0.801, allocations: 69.7 kB / 0.5762 GB, free: 4.898 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006993/0.808, allocations: 4.499 MB / 0.5806 GB, free: 364 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003385/0.8114, allocations: 1.31 MB / 0.5819 GB, free: 15.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00812/0.8195, allocations: 1.834 MB / 0.5837 GB, free: 13.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.8197, allocations: 304.9 kB / 0.584 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01528/0.835, allocations: 5.007 MB / 0.5889 GB, free: 7.867 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1881/1.023, allocations: 9.998 MB / 0.5986 GB, free: 143.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01961/1.043, allocations: 15.92 MB / 0.6142 GB, free: 133.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003758/1.043, allocations: 50.56 kB / 0.6142 GB, free: 133.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.04821/1.091, allocations: 20.8 MB / 0.6345 GB, free: 124.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000366/1.092, allocations: 80 kB / 0.6346 GB, free: 124.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004027/1.092, allocations: 172 kB / 0.6348 GB, free: 124.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02652/1.119, allocations: 7.666 MB / 0.6422 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008092/1.127, allocations: 2.133 MB / 0.6443 GB, free: 115.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03265/1.159, allocations: 27.46 MB / 0.6711 GB, free: 87.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009352/1.169, allocations: 0.6706 MB / 0.6718 GB, free: 86.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002212/1.171, allocations: 0.5039 MB / 0.6723 GB, free: 86.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 783 * 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 (1090): * Single equations (assignments): 1082 * 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.007069/1.178, allocations: 3.092 MB / 0.6753 GB, free: 83.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002208/1.18, allocations: 0.5723 MB / 0.6759 GB, free: 83.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03092/1.211, allocations: 13.81 MB / 0.6894 GB, free: 69.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.237e-05/1.211, allocations: 55.98 kB / 0.6894 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.459e-05/1.211, allocations: 8 kB / 0.6894 GB, free: 69.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.962e-05/1.211, allocations: 11.95 kB / 0.6894 GB, free: 69.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05271/1.264, allocations: 23.78 MB / 0.7127 GB, free: 45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.713e-05/1.264, allocations: 4 kB / 0.7127 GB, free: 45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/1.267, allocations: 0.6006 MB / 0.7132 GB, free: 44.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02168/1.289, allocations: 6.69 MB / 0.7198 GB, free: 37.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009335/1.29, allocations: 67.34 kB / 0.7198 GB, free: 37.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02518/1.315, allocations: 22.55 MB / 0.7419 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.315, allocations: 7.938 kB / 0.7419 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2397/1.555, allocations: 18.84 MB / 0.7603 GB, free: 136.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00422/1.559, allocations: 1.248 MB / 0.7615 GB, free: 135.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001956/1.561, allocations: 57.31 kB / 0.7615 GB, free: 135.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004807/1.566, allocations: 361.5 kB / 0.7619 GB, free: 135.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001303/1.567, allocations: 215.3 kB / 0.7621 GB, free: 135.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007019/1.568, allocations: 88.84 kB / 0.7622 GB, free: 135.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006654/1.574, allocations: 3.189 MB / 0.7653 GB, free: 134.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.574, allocations: 0 / 0.7653 GB, free: 134.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01071/1.585, allocations: 1.932 MB / 0.7672 GB, free: 134.5 MB / 442.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 (258): * Single equations (assignments): 250 * 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.001212/1.586, allocations: 224.4 kB / 0.7674 GB, free: 134.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01779/1.604, allocations: 10.93 MB / 0.7781 GB, free: 130.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/1.604, allocations: 3.812 kB / 0.7781 GB, free: 130.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006666/1.611, allocations: 4.018 MB / 0.782 GB, free: 128.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006896/1.618, allocations: 0.5495 MB / 0.7825 GB, free: 128.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03328/1.651, allocations: 16.64 MB / 0.7988 GB, free: 115.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008894/1.66, allocations: 4.14 MB / 0.8028 GB, free: 112.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009405/1.669, allocations: 2.932 MB / 0.8057 GB, free: 110.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/1.672, allocations: 337.4 kB / 0.806 GB, free: 110.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.833e-06/1.672, allocations: 0 / 0.806 GB, free: 110.5 MB / 442.7 MB Notification: Performance of Templates: time 0.1167/1.788, allocations: 78.04 MB / 0.8822 GB, free: 32.7 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.78992610797286]