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.001414/0.001414, allocations: 202.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 96.92 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 45.16 MB / 383.8 MB, free: 316 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.382e-05, allocations: 4 kB / 453.3 MB, free: 75.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 63.25 MB / 0.5044 GB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5902, allocations: 106.8 MB / 0.6087 GB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.5905, allocations: 76.34 kB / 0.6088 GB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2315/0.8219, allocations: 88.25 MB / 0.695 GB, free: 11.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.822, allocations: 0 / 0.695 GB, free: 11.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002786/0.8223, allocations: 84 kB / 0.695 GB, free: 11.68 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.01256/0.8349, allocations: 3.972 MB / 0.6989 GB, free: 7.637 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.8349, allocations: 12.03 kB / 0.6989 GB, free: 7.625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.847, allocations: 2.447 MB / 0.7013 GB, free: 5.168 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.8593, allocations: 4.243 MB / 0.7055 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.8596, allocations: 144 kB / 0.7056 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002148/0.8618, allocations: 256 kB / 0.7058 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01228/0.8741, allocations: 6.155 MB / 0.7119 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02057/0.8947, allocations: 9.455 MB / 0.7211 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003366/0.8951, allocations: 67.41 kB / 0.7212 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001719/0.8968, allocations: 32 kB / 0.7212 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00171/0.8985, allocations: 1.041 MB / 0.7222 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3763/1.275, allocations: 47.28 MB / 0.7684 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003164/1.278, allocations: 2.07 MB / 0.7704 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/1.28, allocations: 0.9223 MB / 0.7713 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/1.281, allocations: 1.205 MB / 0.7725 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.996e-05/1.281, allocations: 58.61 kB / 0.7725 GB, free: 104 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=158): time 4.809e-06/1.281, allocations: 0 / 0.7725 GB, free: 104 MB / 0.5261 GB Notification: Performance of matching and sorting (n=170): time 0.01922/1.3, allocations: 9.054 MB / 0.7814 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/1.3, allocations: 254.5 kB / 0.7816 GB, free: 99.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006113/1.306, allocations: 3.035 MB / 0.7846 GB, free: 99.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000315/1.307, allocations: 25.7 kB / 0.7846 GB, free: 99.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002063/1.309, allocations: 3.216 MB / 0.7877 GB, free: 97.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007522/1.31, allocations: 0.6557 MB / 0.7884 GB, free: 97.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/1.31, allocations: 0 / 0.7884 GB, free: 97.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002641/1.31, allocations: 0.5698 MB / 0.7889 GB, free: 97.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/1.312, allocations: 1.498 MB / 0.7904 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003239/1.315, allocations: 5.426 MB / 0.7957 GB, free: 92.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00361/1.319, allocations: 2.858 MB / 0.7985 GB, free: 91.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/1.319, allocations: 40.53 kB / 0.7985 GB, free: 91.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01422/1.333, allocations: 6.007 MB / 0.8044 GB, free: 91.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.891e-05/1.333, allocations: 68.2 kB / 0.8045 GB, free: 91.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001981/1.334, allocations: 140.7 kB / 0.8046 GB, free: 91.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/1.334, allocations: 208.8 kB / 0.8048 GB, free: 91.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/1.339, allocations: 1.495 MB / 0.8063 GB, free: 91.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000164/1.339, allocations: 283.7 kB / 0.8065 GB, free: 91.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004955/1.344, allocations: 275.5 kB / 0.8068 GB, free: 91.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/1.345, allocations: 384.2 kB / 0.8071 GB, free: 91.26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * 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 (793): * Single equations (assignments): 790 * 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.001259/1.346, allocations: 465.3 kB / 0.8076 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00286/1.349, allocations: 1.67 MB / 0.8092 GB, free: 90.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005891/1.35, allocations: 321.2 kB / 0.8095 GB, free: 90.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/1.352, allocations: 1.255 MB / 0.8108 GB, free: 90.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/1.352, allocations: 17.03 kB / 0.8108 GB, free: 90.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.352, allocations: 6.453 kB / 0.8108 GB, free: 90.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/1.352, allocations: 10.69 kB / 0.8108 GB, free: 90.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009998/1.362, allocations: 5.298 MB / 0.816 GB, free: 88.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/1.362, allocations: 22.66 kB / 0.816 GB, free: 88.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.363, allocations: 292.3 kB / 0.8163 GB, free: 88.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.921e-05/1.363, allocations: 27.69 kB / 0.8163 GB, free: 88.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.665e-05/1.363, allocations: 32.55 kB / 0.8163 GB, free: 88.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/1.363, allocations: 36.22 kB / 0.8164 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.907e-05/1.363, allocations: 29.44 kB / 0.8164 GB, free: 88.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004177/1.367, allocations: 5.166 MB / 0.8214 GB, free: 85.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.369, allocations: 390.5 kB / 0.8218 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004605/1.369, allocations: 32.8 kB / 0.8218 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/1.37, allocations: 71.7 kB / 0.8219 GB, free: 84.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.371, allocations: 153.5 kB / 0.822 GB, free: 84.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.837e-05/1.371, allocations: 71.11 kB / 0.8221 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003205/1.374, allocations: 2.003 MB / 0.8241 GB, free: 84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/1.374, allocations: 2.844 kB / 0.8241 GB, free: 84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006236/1.38, allocations: 0.7781 MB / 0.8248 GB, free: 83.99 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * 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 (154): * Single equations (assignments): 151 * 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.005258/1.386, allocations: 10.33 MB / 0.8349 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005528/1.391, allocations: 3.432 MB / 0.8383 GB, free: 73.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.006e-05/1.391, allocations: 3.719 kB / 0.8383 GB, free: 73.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009288/1.392, allocations: 0.7205 MB / 0.839 GB, free: 73.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/1.395, allocations: 365.2 kB / 0.8393 GB, free: 73.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/1.414, allocations: 8.338 MB / 0.8475 GB, free: 69.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003216/1.417, allocations: 3.27 MB / 0.8507 GB, free: 68.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004571/1.422, allocations: 1.895 MB / 0.8525 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002494/1.424, allocations: 1.849 MB / 0.8543 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of SimCode: time 1.673e-06/1.424, allocations: 0 / 0.8543 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/1.527, allocations: 63.01 MB / 0.9159 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/1.527, allocations: 125.3 kB / 0.916 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.646/5.173, allocations: 3.281 kB / 0.916 GB, free: 14.26 MB / 0.5261 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