Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.688/1.688, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 104.5 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3688/0.3688, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 12 kB / 468.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4087, allocations: 63.25 MB / 0.5193 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.5553, allocations: 107.5 MB / 0.6242 GB, free: 11.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5556, allocations: 83.92 kB / 0.6243 GB, free: 11.82 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5189/1.074, allocations: 89.96 MB / 0.7122 GB, free: 100.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.904e-06/1.075, allocations: 3.188 kB / 0.7122 GB, free: 100.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003605/1.075, allocations: 87.69 kB / 0.7123 GB, free: 100.8 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01503/1.09, allocations: 4.204 MB / 0.7164 GB, free: 98.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/1.09, allocations: 9.938 kB / 0.7164 GB, free: 98.88 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003579/1.094, allocations: 0.7784 MB / 0.7171 GB, free: 98.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/1.106, allocations: 2.444 MB / 0.7195 GB, free: 98.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/1.119, allocations: 4.261 MB / 0.7237 GB, free: 97.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004803/1.119, allocations: 337.1 kB / 0.724 GB, free: 97.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002497/1.122, allocations: 441.2 kB / 0.7244 GB, free: 97.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02637/1.148, allocations: 10.74 MB / 0.7349 GB, free: 91.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004075/1.148, allocations: 72 kB / 0.735 GB, free: 91.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002077/1.151, allocations: 208.6 kB / 0.7352 GB, free: 91.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001679/1.152, allocations: 1.046 MB / 0.7362 GB, free: 91.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/1.17, allocations: 8.437 MB / 0.7444 GB, free: 88.87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04855/1.219, allocations: 48.04 MB / 0.7914 GB, free: 46.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00705/1.226, allocations: 3.235 MB / 0.7945 GB, free: 43.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009631/1.236, allocations: 5.979 MB / 0.8004 GB, free: 37.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/1.236, allocations: 51.48 kB / 0.8004 GB, free: 36.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 5.621e-06/1.236, allocations: 0 / 0.8004 GB, free: 36.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.02231/1.258, allocations: 9.674 MB / 0.8098 GB, free: 27.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/1.258, allocations: 196.9 kB / 0.81 GB, free: 26.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006071/1.264, allocations: 3.642 MB / 0.8136 GB, free: 23.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/1.264, allocations: 49.7 kB / 0.8136 GB, free: 23.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/1.266, allocations: 3.184 MB / 0.8168 GB, free: 20 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000432/1.266, allocations: 0.6312 MB / 0.8174 GB, free: 19.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/1.267, allocations: 124 kB / 0.8175 GB, free: 19.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002365/1.267, allocations: 0.5621 MB / 0.818 GB, free: 18.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/1.269, allocations: 1.659 MB / 0.8197 GB, free: 17.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003384/1.273, allocations: 5.479 MB / 0.825 GB, free: 9.609 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/1.276, allocations: 2.953 MB / 0.8279 GB, free: 6.656 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-05/1.276, allocations: 40 kB / 0.8279 GB, free: 6.617 MB / 490.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.008794/1.285, allocations: 6.889 MB / 0.8347 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.856e-05/1.285, allocations: 64 kB / 0.8347 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/1.285, allocations: 136 kB / 0.8348 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/1.285, allocations: 200.8 kB / 0.835 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003942/1.289, allocations: 1.443 MB / 0.8364 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001849/1.289, allocations: 267 kB / 0.8367 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00474/1.294, allocations: 381.8 kB / 0.8371 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006398/1.295, allocations: 368 kB / 0.8374 GB, free: 12.89 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (763): * Single equations (assignments): 760 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004303/1.299, allocations: 2.037 MB / 0.8394 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007569/1.3, allocations: 351.5 kB / 0.8397 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/1.302, allocations: 1.341 MB / 0.841 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/1.303, allocations: 21.41 kB / 0.8411 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.303, allocations: 0 / 0.8411 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/1.303, allocations: 3.984 kB / 0.8411 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/1.315, allocations: 5.858 MB / 0.8468 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.165e-05/1.315, allocations: 20 kB / 0.8468 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/1.316, allocations: 279.5 kB / 0.8471 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.448e-05/1.316, allocations: 31.56 kB / 0.8471 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/1.316, allocations: 51.98 kB / 0.8472 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.199e-05/1.316, allocations: 35.86 kB / 0.8472 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.918e-05/1.316, allocations: 28.34 kB / 0.8472 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005351/1.322, allocations: 5.325 MB / 0.8524 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/1.323, allocations: 428.5 kB / 0.8528 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009155/1.324, allocations: 47.98 kB / 0.8529 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.326, allocations: 102.1 kB / 0.853 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/1.326, allocations: 135.5 kB / 0.8531 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.326, allocations: 68 kB / 0.8532 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006018/1.332, allocations: 2.551 MB / 0.8557 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/1.332, allocations: 0 / 0.8557 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006436/1.339, allocations: 0.9179 MB / 0.8566 GB, free: 8.129 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * 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 (146): * Single equations (assignments): 143 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007532/1.346, allocations: 10.24 MB / 0.8666 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007271/1.354, allocations: 3.76 MB / 0.8702 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.77e-05/1.354, allocations: 5.75 kB / 0.8702 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/1.355, allocations: 0.7435 MB / 0.871 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/1.358, allocations: 433.9 kB / 0.8714 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.343/1.701, allocations: 113.4 MB / 0.9821 GB, free: 44.83 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00582/1.707, allocations: 3.264 MB / 0.9853 GB, free: 44.03 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005465/1.712, allocations: 1.822 MB / 0.9871 GB, free: 43.87 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003009/1.715, allocations: 1.858 MB / 0.9889 GB, free: 43.86 MB / 0.5417 GB Notification: Performance of SimCode: time 8.51e-07/1.715, allocations: 0 / 0.9889 GB, free: 43.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1257/1.841, allocations: 67.1 MB / 1.054 GB, free: 23.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/1.841, allocations: 164.7 kB / 1.055 GB, free: 23.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.516/6.358, allocations: 4.062 kB / 1.055 GB, free: 23.3 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat