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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009933/0.0009933, allocations: 93.5 kB / 16.98 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.00126/0.00126, allocations: 198.4 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.459/1.459, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 45.92 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 8 kB / 418 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3926/0.5327, allocations: 53.35 MB / 0.5223 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03891/0.5716, allocations: 12.88 MB / 0.5349 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01756/0.5892, allocations: 272.5 kB / 0.5352 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0137/0.6029, allocations: 2.663 MB / 0.5378 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03857/0.6416, allocations: 7.686 MB / 0.5453 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006244/0.6478, allocations: 0.8952 MB / 0.5461 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.07383/0.7217, allocations: 48.95 MB / 0.594 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008854/0.7306, allocations: 5.514 MB / 0.5993 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/0.7335, allocations: 1.343 MB / 0.6006 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.7361, allocations: 1.791 MB / 0.6024 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006254/0.7367, allocations: 176 kB / 0.6026 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.7391, allocations: 1.046 MB / 0.6036 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00213/0.7413, allocations: 1.999 MB / 0.6055 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.7426, allocations: 1.03 MB / 0.6065 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.7528, allocations: 6.886 MB / 0.6133 GB, free: 356 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7529, allocations: 0 / 0.6133 GB, free: 356 kB / 446.1 MB Notification: Performance of FrontEnd: time 4.99e-06/0.7529, allocations: 0 / 0.6133 GB, free: 356 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005184/0.7534, allocations: 0 / 0.6133 GB, free: 356 kB / 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.01645/0.7699, allocations: 5.568 MB / 0.6187 GB, free: 10.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.7699, allocations: 12.03 kB / 0.6187 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003523/0.7735, allocations: 0.9156 MB / 0.6196 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04265/0.8161, allocations: 7.947 MB / 0.6274 GB, free: 1.801 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/0.8278, allocations: 4.181 MB / 0.6315 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.8281, allocations: 283.3 kB / 0.6317 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001752/0.8299, allocations: 395.6 kB / 0.6321 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02596/0.8559, allocations: 12.04 MB / 0.6439 GB, free: 76 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001973/0.8561, allocations: 63.42 kB / 0.6439 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005711/0.8567, allocations: 183.8 kB / 0.6441 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00343/0.8601, allocations: 2.143 MB / 0.6462 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02237/0.8825, allocations: 10.32 MB / 0.6563 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06251/0.9451, allocations: 47.45 MB / 0.7026 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3364/1.282, allocations: 5.868 MB / 0.7083 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02017/1.302, allocations: 8.857 MB / 0.717 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.529e-05/1.302, allocations: 52.12 kB / 0.717 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 5.099e-06/1.302, allocations: 0.5 kB / 0.717 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.1241/1.426, allocations: 35.49 MB / 0.7517 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/1.426, allocations: 205.9 kB / 0.7519 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00854/1.435, allocations: 5.121 MB / 0.7569 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009436/1.436, allocations: 61.7 kB / 0.757 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002548/1.438, allocations: 3.606 MB / 0.7605 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001494/1.44, allocations: 0.9662 MB / 0.7614 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/1.44, allocations: 136 kB / 0.7615 GB, free: 150 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003626/1.44, allocations: 0.5832 MB / 0.7621 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00384/1.444, allocations: 3.004 MB / 0.765 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005386/1.45, allocations: 6.785 MB / 0.7717 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005426/1.455, allocations: 4.432 MB / 0.776 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/1.455, allocations: 36 kB / 0.776 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02567/1.481, allocations: 13.16 MB / 0.7889 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/1.481, allocations: 64 kB / 0.7889 GB, free: 120 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/1.481, allocations: 132 kB / 0.7891 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/1.492, allocations: 4.251 MB / 0.7932 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004518/1.497, allocations: 1.408 MB / 0.7946 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0319/1.529, allocations: 27.4 MB / 0.8214 GB, free: 86.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007694/1.537, allocations: 400.2 kB / 0.8217 GB, free: 86.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/1.538, allocations: 396 kB / 0.8221 GB, free: 85.67 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.004791/1.543, allocations: 2.478 MB / 0.8245 GB, free: 83.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.544, allocations: 442.3 kB / 0.825 GB, free: 82.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/1.559, allocations: 8.218 MB / 0.833 GB, free: 74.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.103e-05/1.559, allocations: 28 kB / 0.833 GB, free: 74.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.285e-05/1.559, allocations: 15.94 kB / 0.833 GB, free: 74.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.344e-05/1.559, allocations: 15.95 kB / 0.833 GB, free: 74.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02915/1.588, allocations: 16.88 MB / 0.8495 GB, free: 57.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.221e-05/1.588, allocations: 4.469 kB / 0.8495 GB, free: 57.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/1.59, allocations: 299.6 kB / 0.8498 GB, free: 57.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0102/1.6, allocations: 3.938 MB / 0.8537 GB, free: 53.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007329/1.601, allocations: 59.89 kB / 0.8537 GB, free: 53.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02901/1.63, allocations: 26.2 MB / 0.8793 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.63, allocations: 15.88 kB / 0.8793 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01791/1.648, allocations: 12.75 MB / 0.8918 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.649, allocations: 0.5069 MB / 0.8923 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007943/1.65, allocations: 51.98 kB / 0.8923 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/1.652, allocations: 167.8 kB / 0.8925 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006315/1.653, allocations: 190.1 kB / 0.8927 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/1.653, allocations: 75.98 kB / 0.8927 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00442/1.658, allocations: 3.293 MB / 0.8959 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.658, allocations: 0 / 0.8959 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007267/1.665, allocations: 1.44 MB / 0.8973 GB, free: 7.75 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.3413/2.006, allocations: 14.54 MB / 0.9115 GB, free: 163.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0167/2.023, allocations: 8.126 MB / 0.9195 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/2.023, allocations: 1.406 kB / 0.9195 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006348/2.029, allocations: 3.515 MB / 0.9229 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/2.033, allocations: 0.5429 MB / 0.9234 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1199/2.153, allocations: 141.6 MB / 1.062 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004351/2.158, allocations: 4.036 MB / 1.066 GB, free: 24.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005261/2.163, allocations: 2.01 MB / 1.068 GB, free: 22.33 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002934/2.166, allocations: 2.374 MB / 1.07 GB, free: 19.96 MB / 0.5294 GB Notification: Performance of SimCode: time 1.553e-06/2.166, allocations: 0 / 1.07 GB, free: 19.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5252/2.691, allocations: 118.6 MB / 1.186 GB, free: 123.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/2.691, allocations: 234.9 kB / 1.186 GB, free: 123.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.759/7.45, allocations: 9.453 kB / 1.186 GB, free: 123.4 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat