Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.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.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002281/0.002281, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.684/1.684, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 104.1 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3803/0.3803, allocations: 45.22 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 8 kB / 468.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3426, allocations: 63.25 MB / 0.5193 GB, free: 37.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4706, allocations: 87.2 MB / 0.6044 GB, free: 244 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.4709, allocations: 67.94 kB / 0.6045 GB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002857/0.4737, allocations: 1.042 MB / 0.6055 GB, free: 15.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4738, allocations: 0 / 0.6055 GB, free: 15.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.4738, allocations: 4 kB / 0.6055 GB, free: 15.12 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003896/0.4742, allocations: 355.4 kB / 0.6058 GB, free: 14.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4743, allocations: 11.97 kB / 0.6059 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.4743, allocations: 38.56 kB / 0.6059 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.4743, allocations: 0 / 0.6059 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.4745, allocations: 186.8 kB / 0.6061 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.4745, allocations: 0 / 0.6061 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.4746, allocations: 11.94 kB / 0.6061 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.4747, allocations: 76.23 kB / 0.6062 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4748, allocations: 0 / 0.6062 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4748, allocations: 4 kB / 0.6062 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4748, allocations: 0 / 0.6062 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/0.4749, allocations: 27.92 kB / 0.6062 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.4754, allocations: 441.3 kB / 0.6066 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.4756, allocations: 46.5 kB / 0.6067 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.4756, allocations: 0 / 0.6067 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.4756, allocations: 34.56 kB / 0.6067 GB, free: 13.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4757, allocations: 4 kB / 0.6067 GB, free: 13.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.000515/0.4762, allocations: 109.5 kB / 0.6068 GB, free: 13.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.4762, allocations: 63.34 kB / 0.6069 GB, free: 13.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.4763, allocations: 105.2 kB / 0.607 GB, free: 13.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.4764, allocations: 29.7 kB / 0.607 GB, free: 13.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.4764, allocations: 96.03 kB / 0.6071 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.4764, allocations: 11.75 kB / 0.6071 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.4764, allocations: 0 / 0.6071 GB, free: 13.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4766, allocations: 322.8 kB / 0.6074 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.193e-05/0.4766, allocations: 16 kB / 0.6074 GB, free: 12.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.4767, allocations: 39.42 kB / 0.6074 GB, free: 12.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.823e-05/0.4768, allocations: 23.92 kB / 0.6075 GB, free: 12.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4768, allocations: 0 / 0.6075 GB, free: 12.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001675/0.477, allocations: 93.52 kB / 0.6076 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.477, allocations: 4 kB / 0.6076 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.477, allocations: 4 kB / 0.6076 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.477, allocations: 0 / 0.6076 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.4771, allocations: 16.36 kB / 0.6076 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4771, allocations: 0 / 0.6076 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.4771, allocations: 12.05 kB / 0.6076 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.4772, allocations: 7.875 kB / 0.6076 GB, free: 12.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * 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 7.957e-05/0.4772, allocations: 113.8 kB / 0.6077 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.4773, allocations: 8.359 kB / 0.6077 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.4773, allocations: 7.906 kB / 0.6077 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.4773, allocations: 0 / 0.6077 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4773, allocations: 7.984 kB / 0.6077 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4773, allocations: 3.938 kB / 0.6077 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.4775, allocations: 169.6 kB / 0.6079 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4775, allocations: 4 kB / 0.6079 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.183e-05/0.4776, allocations: 8 kB / 0.6079 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.4777, allocations: 4 kB / 0.6079 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.4777, allocations: 0 / 0.6079 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4777, allocations: 0 / 0.6079 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4777, allocations: 0 / 0.6079 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.4779, allocations: 199.3 kB / 0.6081 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.478, allocations: 77.11 kB / 0.6082 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.478, allocations: 4.031 kB / 0.6082 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.927e-05/0.4781, allocations: 0 / 0.6082 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.4781, allocations: 7.984 kB / 0.6082 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.4781, allocations: 0 / 0.6082 GB, free: 12.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.765e-05/0.4782, allocations: 91.27 kB / 0.6083 GB, free: 11.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4782, allocations: 0 / 0.6083 GB, free: 11.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.4784, allocations: 16.06 kB / 0.6083 GB, free: 11.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * 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.000516/0.4789, allocations: 0.7123 MB / 0.609 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.4791, allocations: 44.05 kB / 0.609 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4791, allocations: 0 / 0.609 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.44e-05/0.4792, allocations: 23.92 kB / 0.6091 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.4794, allocations: 10.91 kB / 0.6091 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.4806, allocations: 0.9445 MB / 0.61 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.4809, allocations: 0.6887 MB / 0.6107 GB, free: 9.387 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.61e-05/0.4809, allocations: 4.188 kB / 0.6107 GB, free: 9.383 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.481, allocations: 15.95 kB / 0.6107 GB, free: 9.367 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.481, allocations: 0 / 0.6107 GB, free: 9.367 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.4933, allocations: 1.32 MB / 0.612 GB, free: 8.16 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.4935, allocations: 169.2 kB / 0.6121 GB, free: 7.922 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.066, allocations: 0 / 0.6121 GB, free: 7.922 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat does not exist to compare? outputFormat=mat