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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008246/0.0008244, allocations: 87.31 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1932/0.1932, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.797e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 63.24 MB / 0.5114 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4397/0.5495, allocations: 110 MB / 0.6188 GB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5498, allocations: 76.5 kB / 0.6189 GB, free: 116 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2522/0.802, allocations: 108.8 MB / 0.7252 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8021, allocations: 0 / 0.7252 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000217/0.8023, allocations: 107.9 kB / 0.7253 GB, free: 11.07 MB / 0.5105 GB 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.01448/0.8168, allocations: 5.268 MB / 0.7305 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.8169, allocations: 11.97 kB / 0.7305 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002435/0.8193, allocations: 1.02 MB / 0.7315 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02555/0.8449, allocations: 6.888 MB / 0.7382 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01758/0.8625, allocations: 6.418 MB / 0.7445 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004785/0.863, allocations: 374.2 kB / 0.7448 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002768/0.8658, allocations: 0.4997 MB / 0.7453 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3493/1.215, allocations: 12.26 MB / 0.7573 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002278/1.215, allocations: 72.95 kB / 0.7573 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006457/1.216, allocations: 238.5 kB / 0.7576 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001759/1.218, allocations: 1.142 MB / 0.7587 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02235/1.24, allocations: 10.13 MB / 0.7686 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05293/1.293, allocations: 55.67 MB / 0.8229 GB, free: 82.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/1.306, allocations: 5.671 MB / 0.8285 GB, free: 80.22 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/1.308, allocations: 2.835 MB / 0.8313 GB, free: 78.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/1.319, allocations: 8.777 MB / 0.8398 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/1.32, allocations: 54.88 kB / 0.8399 GB, free: 74.58 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=206): time 4.839e-06/1.32, allocations: 0 / 0.8399 GB, free: 74.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=265): time 0.08758/1.407, allocations: 29.31 MB / 0.8685 GB, free: 67.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.407, allocations: 212.5 kB / 0.8687 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008651/1.416, allocations: 4.159 MB / 0.8728 GB, free: 63.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000579/1.417, allocations: 69.7 kB / 0.8728 GB, free: 63.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002253/1.419, allocations: 3.592 MB / 0.8763 GB, free: 60.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.42, allocations: 0.9787 MB / 0.8773 GB, free: 59.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005999/1.42, allocations: 136 kB / 0.8774 GB, free: 59.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000373/1.421, allocations: 0.5843 MB / 0.878 GB, free: 59.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/1.424, allocations: 2.947 MB / 0.8809 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00467/1.429, allocations: 6.759 MB / 0.8875 GB, free: 48.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004486/1.433, allocations: 4.426 MB / 0.8918 GB, free: 44.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.385e-05/1.434, allocations: 40 kB / 0.8918 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02044/1.454, allocations: 12.96 MB / 0.9045 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.045e-05/1.454, allocations: 64 kB / 0.9046 GB, free: 33.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.891e-05/1.454, allocations: 135.4 kB / 0.9047 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01/1.464, allocations: 4.087 MB / 0.9087 GB, free: 30.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004185/1.468, allocations: 1.422 MB / 0.9101 GB, free: 29.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03015/1.499, allocations: 25.8 MB / 0.9353 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005816/1.504, allocations: 399.4 kB / 0.9356 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/1.506, allocations: 407.9 kB / 0.936 GB, free: 2.926 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 757 * 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.001762/1.508, allocations: 0.6069 MB / 0.9366 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000905/1.509, allocations: 442.3 kB / 0.937 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/1.525, allocations: 8.056 MB / 0.9449 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.324e-05/1.525, allocations: 31.83 kB / 0.9449 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.525, allocations: 16 kB / 0.945 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/1.525, allocations: 11.95 kB / 0.945 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3291/1.854, allocations: 16.64 MB / 0.9612 GB, free: 122 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/1.854, allocations: 5.016 kB / 0.9612 GB, free: 122 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.856, allocations: 305.9 kB / 0.9615 GB, free: 122 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/1.867, allocations: 3.764 MB / 0.9652 GB, free: 122 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004872/1.867, allocations: 51.94 kB / 0.9652 GB, free: 122 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03117/1.899, allocations: 24.55 MB / 0.9892 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.899, allocations: 9.75 kB / 0.9892 GB, free: 118.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/1.917, allocations: 12.56 MB / 1.001 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.918, allocations: 489.5 kB / 1.002 GB, free: 113.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004791/1.919, allocations: 51.61 kB / 1.002 GB, free: 113.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/1.921, allocations: 166.8 kB / 1.002 GB, free: 113.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006001/1.922, allocations: 188.8 kB / 1.002 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.922, allocations: 72.61 kB / 1.002 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004024/1.926, allocations: 2.936 MB / 1.005 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/1.926, allocations: 0 / 1.005 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005682/1.931, allocations: 1.429 MB / 1.007 GB, free: 112.5 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * 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.01808/1.95, allocations: 14.34 MB / 1.021 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.961, allocations: 8.033 MB / 1.029 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.961, allocations: 0 / 1.029 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004982/1.966, allocations: 3.424 MB / 1.032 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/1.97, allocations: 0.5524 MB / 1.032 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02707/1.997, allocations: 12.04 MB / 1.044 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005739/2.003, allocations: 4.038 MB / 1.048 GB, free: 95.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005442/2.009, allocations: 2.019 MB / 1.05 GB, free: 94.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003111/2.012, allocations: 2.379 MB / 1.052 GB, free: 92.27 MB / 0.5417 GB Notification: Performance of SimCode: time 1.272e-06/2.012, allocations: 0 / 1.052 GB, free: 92.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4751/2.487, allocations: 117.6 MB / 1.167 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/2.487, allocations: 197.7 kB / 1.167 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.056/7.543, allocations: 0 / 1.167 GB, free: 115.5 MB / 0.5573 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