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.001206/0.001206, 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.253/1.253, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008301/0.0008301, allocations: 94.28 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1721/0.1721, allocations: 45.16 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.917e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08554/0.08559, allocations: 63.24 MB / 0.5114 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.355/0.4406, allocations: 107.4 MB / 0.6164 GB, free: 2.711 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.4409, allocations: 78.08 kB / 0.6164 GB, free: 2.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2161/0.6569, allocations: 90.01 MB / 0.7043 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.657, allocations: 0 / 0.7043 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002263/0.6572, allocations: 87.98 kB / 0.7044 GB, free: 0.5039 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.0102/0.6674, allocations: 3.972 MB / 0.7083 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6675, allocations: 15.95 kB / 0.7083 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002305/0.6698, allocations: 0.7709 MB / 0.7091 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.6808, allocations: 2.447 MB / 0.7115 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/0.691, allocations: 4.255 MB / 0.7156 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000344/0.6914, allocations: 332.6 kB / 0.7159 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/0.693, allocations: 439.8 kB / 0.7163 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/0.714, allocations: 10.6 MB / 0.7267 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002315/0.7143, allocations: 67.36 kB / 0.7268 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/0.7155, allocations: 211.9 kB / 0.727 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00161/0.7172, allocations: 1.045 MB / 0.728 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/0.7338, allocations: 8.173 MB / 0.736 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.295/1.029, allocations: 48.04 MB / 0.7829 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007272/1.036, allocations: 3.201 MB / 0.786 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/1.037, allocations: 1.02 MB / 0.787 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007461/1.045, allocations: 5.982 MB / 0.7928 GB, free: 92.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/1.045, allocations: 53.5 kB / 0.7929 GB, free: 92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=148): time 3.216e-06/1.045, allocations: 0 / 0.7929 GB, free: 92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=160): time 0.01708/1.062, allocations: 8.649 MB / 0.8013 GB, free: 89.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/1.062, allocations: 202.7 kB / 0.8015 GB, free: 88.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003857/1.066, allocations: 3.543 MB / 0.805 GB, free: 88.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/1.066, allocations: 50.55 kB / 0.805 GB, free: 88.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001371/1.067, allocations: 3.181 MB / 0.8081 GB, free: 86.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/1.068, allocations: 0.6368 MB / 0.8088 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/1.068, allocations: 117 kB / 0.8089 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002318/1.068, allocations: 0.5574 MB / 0.8094 GB, free: 86.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/1.07, allocations: 1.555 MB / 0.8109 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003383/1.073, allocations: 5.371 MB / 0.8162 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/1.076, allocations: 2.881 MB / 0.819 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.868e-05/1.076, allocations: 37.88 kB / 0.819 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.007402/1.084, allocations: 6.683 MB / 0.8256 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/1.084, allocations: 64.72 kB / 0.8256 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.26e-05/1.084, allocations: 135.7 kB / 0.8257 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/1.084, allocations: 202 kB / 0.8259 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003409/1.088, allocations: 1.444 MB / 0.8274 GB, free: 80.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001269/1.088, allocations: 266.2 kB / 0.8276 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/1.091, allocations: 381.1 kB / 0.828 GB, free: 80.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003173/1.091, allocations: 373.1 kB / 0.8283 GB, free: 79.96 MB / 0.5261 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 () * 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.0004773/1.092, allocations: 0.5779 MB / 0.8289 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/1.092, allocations: 351.9 kB / 0.8292 GB, free: 79.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/1.094, allocations: 1.314 MB / 0.8305 GB, free: 78.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/1.094, allocations: 22.05 kB / 0.8305 GB, free: 78.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.094, allocations: 0 / 0.8305 GB, free: 78.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.094, allocations: 9.172 kB / 0.8305 GB, free: 78.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006856/1.101, allocations: 5.831 MB / 0.8362 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/1.101, allocations: 22.83 kB / 0.8363 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/1.102, allocations: 280.1 kB / 0.8365 GB, free: 76.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/1.102, allocations: 27.25 kB / 0.8365 GB, free: 76.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/1.102, allocations: 52.59 kB / 0.8366 GB, free: 76.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.659e-05/1.102, allocations: 36.25 kB / 0.8366 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/1.102, allocations: 25.31 kB / 0.8367 GB, free: 76.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/1.105, allocations: 5.293 MB / 0.8418 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005325/1.105, allocations: 426.3 kB / 0.8422 GB, free: 71.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/1.105, allocations: 52.89 kB / 0.8423 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.107, allocations: 91.61 kB / 0.8424 GB, free: 71.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/1.107, allocations: 156.9 kB / 0.8425 GB, free: 71.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.647e-05/1.107, allocations: 62.97 kB / 0.8426 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002464/1.109, allocations: 2.445 MB / 0.845 GB, free: 70.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.109, allocations: 0 / 0.845 GB, free: 70.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003746/1.113, allocations: 0.9189 MB / 0.8459 GB, free: 70.08 MB / 0.5261 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 () * 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.003864/1.117, allocations: 10.19 MB / 0.8558 GB, free: 60.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004581/1.121, allocations: 3.637 MB / 0.8594 GB, free: 59.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.122, allocations: 4.25 kB / 0.8594 GB, free: 59.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006704/1.122, allocations: 0.7343 MB / 0.8601 GB, free: 59.51 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/1.124, allocations: 433.1 kB / 0.8605 GB, free: 59.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/1.138, allocations: 8.524 MB / 0.8688 GB, free: 55.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/1.141, allocations: 3.254 MB / 0.872 GB, free: 52.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003639/1.145, allocations: 1.817 MB / 0.8738 GB, free: 51.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.146, allocations: 1.859 MB / 0.8756 GB, free: 49.96 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/1.146, allocations: 0 / 0.8756 GB, free: 49.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08611/1.232, allocations: 68.2 MB / 0.9422 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/1.233, allocations: 141.5 kB / 0.9423 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.76/4.992, allocations: 0 / 0.9423 GB, free: 7.754 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