Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 79.86 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1154, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01524/0.1307, allocations: 13.38 MB / 494.8 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.1411, allocations: 4.797 MB / 499.6 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.1439, allocations: 99.62 kB / 499.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007009/0.151, allocations: 3.73 MB / 0.4917 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005277/0.1563, allocations: 2.144 MB / 0.4938 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.1587, allocations: 1.084 MB / 0.4948 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008782/0.1675, allocations: 6.666 MB / 0.5013 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1986/0.3661, allocations: 4.492 MB / 0.5057 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005947/0.3721, allocations: 2.026 MB / 0.5077 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007068/0.3792, allocations: 2.737 MB / 0.5104 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00191/0.3812, allocations: 430.1 kB / 0.5108 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.3851, allocations: 1.431 MB / 0.5122 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003257/0.3884, allocations: 2.439 MB / 0.5146 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003827/0.3923, allocations: 2.767 MB / 0.5173 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.4029, allocations: 8.757 MB / 0.5258 GB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4029, allocations: 0 / 0.5258 GB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4029, allocations: 1.156 kB / 0.5258 GB, free: 12.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003048/0.4033, allocations: 0 / 0.5258 GB, free: 12.04 MB / 382.1 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.01731/0.4206, allocations: 6.235 MB / 0.5319 GB, free: 8.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4206, allocations: 9.969 kB / 0.5319 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.4311, allocations: 2.527 MB / 0.5344 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009255/0.4404, allocations: 3.939 MB / 0.5382 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.4406, allocations: 286 kB / 0.5385 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/0.4422, allocations: 382.7 kB / 0.5389 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02051/0.4627, allocations: 12.01 MB / 0.5506 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001679/0.4629, allocations: 60.98 kB / 0.5506 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005096/0.4634, allocations: 184.5 kB / 0.5508 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003247/0.4667, allocations: 2.15 MB / 0.5529 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02221/0.4889, allocations: 10.37 MB / 0.563 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06346/0.5524, allocations: 47.27 MB / 0.6092 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01577/0.5682, allocations: 5.818 MB / 0.6149 GB, free: 9.039 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00375/0.572, allocations: 2.977 MB / 0.6178 GB, free: 6.051 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01514/0.5871, allocations: 8.873 MB / 0.6265 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.5872, allocations: 58.25 kB / 0.6265 GB, free: 13.03 MB / 478.1 MB Notification: Performance of pre-optimization done (n=206): time 5.17e-06/0.5872, allocations: 0 / 0.6265 GB, free: 13.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=262): time 0.1247/0.712, allocations: 34.9 MB / 0.6606 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.7122, allocations: 216.8 kB / 0.6608 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01096/0.7231, allocations: 4.764 MB / 0.6654 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007721/0.7239, allocations: 65.7 kB / 0.6655 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003446/0.7274, allocations: 3.537 MB / 0.669 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001924/0.7293, allocations: 0.9742 MB / 0.6699 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004602/0.734, allocations: 1.416 MB / 0.6713 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.7341, allocations: 309.1 kB / 0.6716 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005595/0.7397, allocations: 3.18 MB / 0.6747 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00845/0.7482, allocations: 7.04 MB / 0.6816 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/0.7626, allocations: 10.95 MB / 0.6923 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/0.7628, allocations: 40 kB / 0.6923 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02967/0.7925, allocations: 13.74 MB / 0.7057 GB, free: 8.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.7926, allocations: 63.94 kB / 0.7058 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000225/0.7929, allocations: 140 kB / 0.7059 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/0.8058, allocations: 4.384 MB / 0.7102 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00525/0.811, allocations: 1.482 MB / 0.7116 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2435/1.055, allocations: 29.03 MB / 0.74 GB, free: 176.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005517/1.06, allocations: 406.5 kB / 0.7404 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008984/1.061, allocations: 419.1 kB / 0.7408 GB, free: 176.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * 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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.003766/1.065, allocations: 2.473 MB / 0.7432 GB, free: 175.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007972/1.066, allocations: 437.6 kB / 0.7436 GB, free: 175.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/1.08, allocations: 8.477 MB / 0.7519 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.015e-05/1.08, allocations: 27.56 kB / 0.7519 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-05/1.08, allocations: 15.19 kB / 0.7519 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.662e-05/1.08, allocations: 14.34 kB / 0.7519 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0287/1.109, allocations: 17.01 MB / 0.7686 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/1.109, allocations: 10.14 kB / 0.7686 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.111, allocations: 298.8 kB / 0.7689 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009561/1.12, allocations: 3.961 MB / 0.7727 GB, free: 156.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004516/1.121, allocations: 52 kB / 0.7728 GB, free: 156.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03011/1.151, allocations: 27.73 MB / 0.7998 GB, free: 128.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.151, allocations: 19.47 kB / 0.7999 GB, free: 128.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01942/1.17, allocations: 12.42 MB / 0.812 GB, free: 116 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/1.172, allocations: 499.2 kB / 0.8125 GB, free: 115.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001428/1.173, allocations: 48 kB / 0.8125 GB, free: 115.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/1.176, allocations: 175.8 kB / 0.8127 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009227/1.177, allocations: 189.5 kB / 0.8129 GB, free: 115.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003545/1.177, allocations: 75.92 kB / 0.8129 GB, free: 115 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005501/1.183, allocations: 3.013 MB / 0.8159 GB, free: 112 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/1.183, allocations: 0 / 0.8159 GB, free: 112 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007589/1.191, allocations: 1.447 MB / 0.8173 GB, free: 110.6 MB / 0.545 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007561/1.191, allocations: 198 kB / 0.8175 GB, free: 110.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.204, allocations: 8.457 MB / 0.8257 GB, free: 101.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.204, allocations: 0 / 0.8257 GB, free: 101.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005276/1.209, allocations: 3.544 MB / 0.8292 GB, free: 98.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005049/1.214, allocations: 0.5838 MB / 0.8298 GB, free: 97.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/1.236, allocations: 12.41 MB / 0.8419 GB, free: 85.28 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00568/1.241, allocations: 3.918 MB / 0.8457 GB, free: 81.33 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004703/1.246, allocations: 1.999 MB / 0.8477 GB, free: 79.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.247, allocations: 279.4 kB / 0.8479 GB, free: 79.05 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/1.247, allocations: 0 / 0.8479 GB, free: 79.05 MB / 0.545 GB Notification: Performance of Templates: time 0.09521/1.342, allocations: 66.7 MB / 0.9131 GB, free: 12.67 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches