Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008438/0.0008435, allocations: 97.75 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3213/0.3213, allocations: 44.23 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003545, allocations: 12 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3434, allocations: 61.89 MB / 0.5095 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.4852, allocations: 111.3 MB / 0.6183 GB, free: 15.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.4855, allocations: 87.94 kB / 0.6184 GB, free: 15.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5578/1.043, allocations: 128.5 MB / 0.7439 GB, free: 90.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.639e-06/1.043, allocations: 0 / 0.7439 GB, free: 90.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006589/1.044, allocations: 123 kB / 0.744 GB, free: 90.98 MB / 490.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.02474/1.069, allocations: 6.761 MB / 0.7506 GB, free: 87.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/1.069, allocations: 11.16 kB / 0.7506 GB, free: 87.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03121/1.1, allocations: 8.308 MB / 0.7587 GB, free: 84.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/1.12, allocations: 7.094 MB / 0.7656 GB, free: 80.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006838/1.121, allocations: 453 kB / 0.7661 GB, free: 80.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004212/1.125, allocations: 0.5818 MB / 0.7666 GB, free: 79.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03673/1.162, allocations: 15.73 MB / 0.782 GB, free: 62.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003521/1.162, allocations: 71.31 kB / 0.7821 GB, free: 62.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002545/1.165, allocations: 287.8 kB / 0.7824 GB, free: 62.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001992/1.167, allocations: 1.616 MB / 0.7839 GB, free: 60.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02572/1.192, allocations: 14 MB / 0.7976 GB, free: 46.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07753/1.27, allocations: 64.05 MB / 0.8602 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/1.284, allocations: 6.467 MB / 0.8665 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2681/1.552, allocations: 14.4 MB / 0.8805 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/1.552, allocations: 61.3 kB / 0.8806 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=289): time 5.511e-06/1.552, allocations: 0 / 0.8806 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.1354/1.688, allocations: 42.24 MB / 0.9218 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/1.688, allocations: 215.8 kB / 0.922 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00739/1.695, allocations: 4.818 MB / 0.9268 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008006/1.696, allocations: 78.91 kB / 0.9268 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002499/1.698, allocations: 4.424 MB / 0.9311 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001776/1.7, allocations: 1.25 MB / 0.9324 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00054/1.701, allocations: 176.1 kB / 0.9325 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004357/1.701, allocations: 0.6839 MB / 0.9332 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005631/1.707, allocations: 4.564 MB / 0.9377 GB, free: 101 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008122/1.715, allocations: 9.523 MB / 0.947 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00925/1.724, allocations: 6.443 MB / 0.9533 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001519/1.724, allocations: 54.56 kB / 0.9533 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.04157/1.766, allocations: 18.73 MB / 0.9716 GB, free: 78.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.766, allocations: 83.28 kB / 0.9717 GB, free: 78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002176/1.766, allocations: 172.9 kB / 0.9718 GB, free: 77.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01943/1.786, allocations: 5.638 MB / 0.9773 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007418/1.793, allocations: 2.067 MB / 0.9794 GB, free: 72.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02558/1.819, allocations: 24.29 MB / 1.003 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0085/1.828, allocations: 0.5497 MB / 1.004 GB, free: 48.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001922/1.829, allocations: 0.5039 MB / 1.004 GB, free: 48.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 793 * 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 (1061): * Single equations (assignments): 1053 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006635/1.836, allocations: 3.095 MB / 1.007 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/1.837, allocations: 0.4936 MB / 1.008 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0261/1.863, allocations: 12.43 MB / 1.02 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.402e-05/1.864, allocations: 51.98 kB / 1.02 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.616e-05/1.864, allocations: 8 kB / 1.02 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.415e-05/1.864, allocations: 15.95 kB / 1.02 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04753/1.911, allocations: 24.04 MB / 1.043 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-05/1.911, allocations: 4 kB / 1.043 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003141/1.914, allocations: 0.5739 MB / 1.044 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01687/1.931, allocations: 4.65 MB / 1.048 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008733/1.932, allocations: 59.91 kB / 1.048 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0259/1.958, allocations: 19.56 MB / 1.068 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.958, allocations: 16 kB / 1.068 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2789/2.237, allocations: 17.48 MB / 1.085 GB, free: 132.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002059/2.239, allocations: 0.5343 MB / 1.085 GB, free: 132.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001906/2.241, allocations: 58.69 kB / 1.085 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003538/2.245, allocations: 253.1 kB / 1.085 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007824/2.246, allocations: 193.7 kB / 1.086 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003011/2.246, allocations: 85.17 kB / 1.086 GB, free: 132.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005809/2.252, allocations: 3.349 MB / 1.089 GB, free: 132.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.5e-07/2.252, allocations: 0 / 1.089 GB, free: 132.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008673/2.26, allocations: 1.713 MB / 1.091 GB, free: 132.3 MB / 0.5417 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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007727/2.261, allocations: 217 kB / 1.091 GB, free: 132.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01622/2.277, allocations: 10.52 MB / 1.101 GB, free: 130.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/2.277, allocations: 1.594 kB / 1.101 GB, free: 130.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005516/2.283, allocations: 3.979 MB / 1.105 GB, free: 129 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/2.286, allocations: 0.5899 MB / 1.106 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0302/2.317, allocations: 18.34 MB / 1.124 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006933/2.324, allocations: 4.747 MB / 1.128 GB, free: 118.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008665/2.332, allocations: 3.003 MB / 1.131 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/2.334, allocations: 345 kB / 1.131 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.442e-06/2.334, allocations: 0 / 1.131 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.113/2.447, allocations: 73.58 MB / 1.203 GB, free: 70.01 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches