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.001047/0.001047, allocations: 99.92 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001476, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 45.91 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002669, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1501, allocations: 63.46 MB / 481.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3846/0.5348, allocations: 53.35 MB / 0.5222 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04256/0.5775, allocations: 12.87 MB / 0.5348 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02031/0.5978, allocations: 276.5 kB / 0.535 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01252/0.6104, allocations: 2.663 MB / 0.5376 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03238/0.6428, allocations: 7.685 MB / 0.5451 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006265/0.6491, allocations: 0.8945 MB / 0.546 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0892/0.7383, allocations: 48.59 MB / 0.5935 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/0.7512, allocations: 5.511 MB / 0.5988 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/0.755, allocations: 1.339 MB / 0.6002 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004171/0.7592, allocations: 1.787 MB / 0.6019 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002139/0.7614, allocations: 180 kB / 0.6021 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004173/0.7656, allocations: 1.038 MB / 0.6031 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003872/0.7695, allocations: 1.999 MB / 0.605 GB, free: 8.855 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002542/0.7721, allocations: 1.03 MB / 0.606 GB, free: 7.816 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.7827, allocations: 6.886 MB / 0.6128 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7827, allocations: 0 / 0.6128 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.7827, allocations: 4 kB / 0.6128 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003891/0.7831, allocations: 0 / 0.6128 GB, free: 0.9102 MB / 446.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.01807/0.8012, allocations: 5.576 MB / 0.6182 GB, free: 11.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.8013, allocations: 8.031 kB / 0.6182 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04559/0.8469, allocations: 7.954 MB / 0.626 GB, free: 3.277 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.8579, allocations: 4.181 MB / 0.6301 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.8582, allocations: 279.2 kB / 0.6303 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001991/0.8603, allocations: 383.7 kB / 0.6307 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02868/0.8889, allocations: 12.05 MB / 0.6425 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004094/0.8894, allocations: 55.5 kB / 0.6425 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00205/0.8915, allocations: 175.9 kB / 0.6427 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004317/0.8958, allocations: 2.151 MB / 0.6448 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02344/0.9193, allocations: 10.31 MB / 0.6549 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07041/0.9897, allocations: 47.44 MB / 0.7012 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3195/1.309, allocations: 5.857 MB / 0.7069 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01844/1.328, allocations: 8.851 MB / 0.7156 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/1.328, allocations: 52.69 kB / 0.7156 GB, free: 181 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 5.75e-06/1.328, allocations: 1.734 kB / 0.7156 GB, free: 181 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.1165/1.444, allocations: 35.49 MB / 0.7503 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/1.445, allocations: 213.9 kB / 0.7505 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006288/1.451, allocations: 5.125 MB / 0.7555 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000817/1.452, allocations: 65.45 kB / 0.7555 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002349/1.454, allocations: 3.587 MB / 0.759 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001613/1.456, allocations: 0.9736 MB / 0.76 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003612/1.456, allocations: 132 kB / 0.7601 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002576/1.456, allocations: 0.5871 MB / 0.7607 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/1.46, allocations: 3 MB / 0.7636 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005648/1.466, allocations: 6.784 MB / 0.7702 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005647/1.471, allocations: 4.431 MB / 0.7746 GB, free: 135 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.016e-05/1.471, allocations: 40 kB / 0.7746 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02624/1.498, allocations: 13.15 MB / 0.7874 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002876/1.498, allocations: 72.02 kB / 0.7875 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003328/1.498, allocations: 132 kB / 0.7876 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01165/1.51, allocations: 4.243 MB / 0.7918 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004665/1.515, allocations: 1.411 MB / 0.7932 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03226/1.547, allocations: 27.4 MB / 0.8199 GB, free: 88.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006327/1.553, allocations: 407.3 kB / 0.8203 GB, free: 87.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/1.555, allocations: 392 kB / 0.8207 GB, free: 87.35 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 (756): * Single equations (assignments): 750 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.005102/1.56, allocations: 2.474 MB / 0.8231 GB, free: 84.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.561, allocations: 446.3 kB / 0.8235 GB, free: 84.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/1.576, allocations: 8.218 MB / 0.8315 GB, free: 76.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.897e-05/1.576, allocations: 28 kB / 0.8316 GB, free: 76.15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-05/1.576, allocations: 12 kB / 0.8316 GB, free: 76.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.736e-05/1.576, allocations: 15.89 kB / 0.8316 GB, free: 76.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0292/1.606, allocations: 16.87 MB / 0.8481 GB, free: 59.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-05/1.606, allocations: 8.125 kB / 0.8481 GB, free: 59.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/1.607, allocations: 299.6 kB / 0.8484 GB, free: 58.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009897/1.617, allocations: 3.95 MB / 0.8522 GB, free: 54.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004926/1.618, allocations: 47.95 kB / 0.8523 GB, free: 54.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02941/1.647, allocations: 26.2 MB / 0.8779 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.647, allocations: 11.89 kB / 0.8779 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0191/1.666, allocations: 12.75 MB / 0.8903 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/1.668, allocations: 0.5147 MB / 0.8908 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.669, allocations: 40 kB / 0.8909 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002242/1.671, allocations: 177.3 kB / 0.891 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006778/1.672, allocations: 186.1 kB / 0.8912 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/1.672, allocations: 71.98 kB / 0.8913 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004578/1.677, allocations: 3.297 MB / 0.8945 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.12e-07/1.677, allocations: 0 / 0.8945 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007283/1.684, allocations: 1.44 MB / 0.8959 GB, free: 9.441 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006584/1.685, allocations: 203 kB / 0.8961 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2786/1.964, allocations: 8.117 MB / 0.904 GB, free: 172 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.964, allocations: 3.156 kB / 0.904 GB, free: 172 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00798/1.972, allocations: 3.513 MB / 0.9075 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004857/1.976, allocations: 0.5406 MB / 0.908 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03143/2.008, allocations: 14.3 MB / 0.9219 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006869/2.015, allocations: 4.029 MB / 0.9259 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005487/2.02, allocations: 2.012 MB / 0.9278 GB, free: 164 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/2.021, allocations: 282.1 kB / 0.9281 GB, free: 164 MB / 0.5294 GB Notification: Performance of SimCode: time 1.684e-06/2.021, allocations: 3.938 kB / 0.9281 GB, free: 164 MB / 0.5294 GB Notification: Performance of Templates: time 0.1015/2.123, allocations: 67.33 MB / 0.9939 GB, free: 105.5 MB / 0.5294 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches