Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.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.LimResetIntegrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimResetIntegrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimResetIntegrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 199 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.591/1.591, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 94.77 kB / 297.2 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.38/0.38, allocations: 45.24 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002917, allocations: 4 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3425, allocations: 63.25 MB / 0.5193 GB, free: 37.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.4719, allocations: 88.51 MB / 0.6057 GB, free: 14.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.4722, allocations: 63.94 kB / 0.6058 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009636/0.4819, allocations: 3.021 MB / 0.6087 GB, free: 11.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4819, allocations: 0 / 0.6087 GB, free: 11.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.4819, allocations: 0 / 0.6087 GB, free: 11.85 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006981/0.4826, allocations: 443 kB / 0.6091 GB, free: 11.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4827, allocations: 11.97 kB / 0.6092 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.288e-05/0.4828, allocations: 38.56 kB / 0.6092 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.4828, allocations: 15.91 kB / 0.6092 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.4831, allocations: 212.9 kB / 0.6094 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.4832, allocations: 4 kB / 0.6094 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.4832, allocations: 11.98 kB / 0.6094 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.4835, allocations: 117.5 kB / 0.6095 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4835, allocations: 0 / 0.6095 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.4835, allocations: 4 kB / 0.6095 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.4835, allocations: 4 kB / 0.6095 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.4837, allocations: 47.97 kB / 0.6096 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.4844, allocations: 384.4 kB / 0.61 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.4847, allocations: 114.5 kB / 0.6101 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.4847, allocations: 7.969 kB / 0.6101 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.485, allocations: 115.4 kB / 0.6102 GB, free: 10.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.4851, allocations: 4 kB / 0.6102 GB, free: 10.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005035/0.4856, allocations: 149.5 kB / 0.6103 GB, free: 10.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.4856, allocations: 51.41 kB / 0.6104 GB, free: 9.957 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.4858, allocations: 134.6 kB / 0.6105 GB, free: 9.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.4858, allocations: 33.7 kB / 0.6105 GB, free: 9.781 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.4859, allocations: 100.2 kB / 0.6106 GB, free: 9.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.4859, allocations: 23.86 kB / 0.6107 GB, free: 9.656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.4859, allocations: 4 kB / 0.6107 GB, free: 9.652 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.486, allocations: 318.8 kB / 0.611 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.4862, allocations: 39.97 kB / 0.611 GB, free: 9.293 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.4863, allocations: 57.62 kB / 0.6111 GB, free: 9.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.4864, allocations: 39.98 kB / 0.6111 GB, free: 9.191 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4864, allocations: 0 / 0.6111 GB, free: 9.191 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002994/0.4867, allocations: 129.5 kB / 0.6112 GB, free: 9.059 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4868, allocations: 4 kB / 0.6112 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4868, allocations: 3.953 kB / 0.6112 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4868, allocations: 3.984 kB / 0.6112 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4869, allocations: 16 kB / 0.6112 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.4869, allocations: 320 / 0.6112 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.487, allocations: 27.83 kB / 0.6113 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.487, allocations: 7.984 kB / 0.6113 GB, free: 8.996 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.704e-05/0.4871, allocations: 117.8 kB / 0.6114 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.4872, allocations: 12.19 kB / 0.6114 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.4872, allocations: 8.719 kB / 0.6114 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4872, allocations: 3.953 kB / 0.6114 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4872, allocations: 7.875 kB / 0.6114 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4873, allocations: 11.98 kB / 0.6114 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.4878, allocations: 394.4 kB / 0.6118 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4878, allocations: 8 kB / 0.6118 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4879, allocations: 15.98 kB / 0.6118 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4879, allocations: 3.953 kB / 0.6118 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.4879, allocations: 4 kB / 0.6118 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.488, allocations: 4 kB / 0.6118 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.488, allocations: 0 / 0.6118 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.4884, allocations: 259.3 kB / 0.6121 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.4885, allocations: 89.11 kB / 0.6122 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.4885, allocations: 7.938 kB / 0.6122 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.4887, allocations: 19.98 kB / 0.6122 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.4887, allocations: 23.91 kB / 0.6122 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4888, allocations: 0 / 0.6122 GB, free: 7.918 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.09e-05/0.4889, allocations: 114.8 kB / 0.6123 GB, free: 7.809 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4889, allocations: 4 kB / 0.6123 GB, free: 7.805 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002297/0.4891, allocations: 16 kB / 0.6124 GB, free: 7.789 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (change.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007868/0.4899, allocations: 0.7758 MB / 0.6131 GB, free: 6.988 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.4902, allocations: 103.9 kB / 0.6132 GB, free: 6.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4902, allocations: 0 / 0.6132 GB, free: 6.887 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.4904, allocations: 43.92 kB / 0.6133 GB, free: 6.844 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.4906, allocations: 28 kB / 0.6133 GB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.4921, allocations: 0.8605 MB / 0.6141 GB, free: 5.902 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.4924, allocations: 0.7004 MB / 0.6148 GB, free: 5.176 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.653e-05/0.4925, allocations: 12.55 kB / 0.6148 GB, free: 5.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.4925, allocations: 27.62 kB / 0.6148 GB, free: 5.137 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4925, allocations: 4 kB / 0.6148 GB, free: 5.133 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.5063, allocations: 2.204 MB / 0.617 GB, free: 3.043 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.5065, allocations: 166.9 kB / 0.6172 GB, free: 2.805 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.146, allocations: 3.875 kB / 0.6172 GB, free: 2.805 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_LimResetIntegrator_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_LimResetIntegrator.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator_res.mat does not exist to compare? outputFormat=mat