Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 179.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008379/0.0008378, allocations: 92.03 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2617/0.2617, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.136e-05/4.169e-05, allocations: 7.875 kB / 451.9 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1391, allocations: 61.91 MB / 0.5018 GB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4991/0.6382, allocations: 96.7 MB / 0.5962 GB, free: 8.578 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/0.6387, allocations: 63.97 kB / 0.5963 GB, free: 8.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1047/0.7434, allocations: 20.15 MB / 0.616 GB, free: 4.305 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7435, allocations: 0 / 0.616 GB, free: 4.305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001172/0.7437, allocations: 19.94 kB / 0.616 GB, free: 4.285 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003156/0.7468, allocations: 0.9503 MB / 0.6169 GB, free: 3.289 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.7469, allocations: 8.031 kB / 0.6169 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/0.7471, allocations: 86.53 kB / 0.617 GB, free: 3.188 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002901/0.7474, allocations: 94.91 kB / 0.6171 GB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.7488, allocations: 0.547 MB / 0.6176 GB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.647e-05/0.7489, allocations: 37 kB / 0.6177 GB, free: 2.469 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.7491, allocations: 63.91 kB / 0.6177 GB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.7503, allocations: 0.5434 MB / 0.6183 GB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.7503, allocations: 11.86 kB / 0.6183 GB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/0.7504, allocations: 23.94 kB / 0.6183 GB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.7504, allocations: 12 kB / 0.6183 GB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008673/0.7513, allocations: 366 kB / 0.6186 GB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004872/0.7562, allocations: 2.663 MB / 0.6212 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.7572, allocations: 474.1 kB / 0.6217 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.7577, allocations: 202.6 kB / 0.6219 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.099e-05/0.7578, allocations: 7.984 kB / 0.6219 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.7578, allocations: 46.98 kB / 0.6219 GB, free: 13.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 4.288e-06/0.7578, allocations: 0 / 0.6219 GB, free: 13.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.001958/0.7598, allocations: 0.8006 MB / 0.6227 GB, free: 13.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.105e-05/0.7599, allocations: 136.5 kB / 0.6229 GB, free: 12.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007561/0.7607, allocations: 0.539 MB / 0.6234 GB, free: 12.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.7607, allocations: 37.7 kB / 0.6234 GB, free: 12.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.761, allocations: 364.1 kB / 0.6238 GB, free: 11.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.7612, allocations: 169.5 kB / 0.6239 GB, free: 11.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.7612, allocations: 12 kB / 0.6239 GB, free: 11.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7614, allocations: 326 kB / 0.6243 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.7618, allocations: 201.5 kB / 0.6244 GB, free: 11.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004803/0.7623, allocations: 350.6 kB / 0.6248 GB, free: 10.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.7627, allocations: 249.1 kB / 0.625 GB, free: 10.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7627, allocations: 0 / 0.625 GB, free: 10.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001248/0.764, allocations: 0.6962 MB / 0.6257 GB, free: 9.898 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007183/0.7647, allocations: 1.75 MB / 0.6274 GB, free: 8.016 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.7647, allocations: 4 kB / 0.6274 GB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/0.765, allocations: 60.81 kB / 0.6275 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/0.766, allocations: 207.7 kB / 0.6277 GB, free: 7.746 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.7674, allocations: 1.495 MB / 0.6291 GB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006631/0.7681, allocations: 91.75 kB / 0.6292 GB, free: 6.023 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.7681, allocations: 27.94 kB / 0.6292 GB, free: 5.996 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.7681, allocations: 4 kB / 0.6292 GB, free: 5.992 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001061/0.7692, allocations: 0.6085 MB / 0.6298 GB, free: 5.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7692, allocations: 4 kB / 0.6298 GB, free: 5.379 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.7694, allocations: 56.81 kB / 0.6299 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.7703, allocations: 204.2 kB / 0.6301 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.7717, allocations: 1.503 MB / 0.6316 GB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006761/0.7724, allocations: 91.62 kB / 0.6316 GB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.7724, allocations: 27.94 kB / 0.6317 GB, free: 3.363 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.7726, allocations: 140.8 kB / 0.6318 GB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.7728, allocations: 75.06 kB / 0.6319 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.7731, allocations: 85.98 kB / 0.632 GB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.7731, allocations: 8 kB / 0.632 GB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7731, allocations: 0 / 0.632 GB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.7731, allocations: 4 kB / 0.632 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.7744, allocations: 0.8257 MB / 0.6328 GB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.7744, allocations: 0 / 0.6328 GB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/0.7751, allocations: 115.9 kB / 0.6329 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.7751, allocations: 4 kB / 0.6329 GB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/0.7752, allocations: 16 kB / 0.6329 GB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.7752, allocations: 3.984 kB / 0.6329 GB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7752, allocations: 0 / 0.6329 GB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.7766, allocations: 0.9945 MB / 0.6339 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.7769, allocations: 200.2 kB / 0.6341 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.7769, allocations: 8 kB / 0.6341 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.7775, allocations: 67.94 kB / 0.6341 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.7777, allocations: 39.89 kB / 0.6342 GB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.7777, allocations: 15.98 kB / 0.6342 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000567/0.7783, allocations: 431.2 kB / 0.6346 GB, free: 244 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7783, allocations: 0 / 0.6346 GB, free: 244 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009137/0.7792, allocations: 203.9 kB / 0.6348 GB, free: 40 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.001783/0.781, allocations: 1.692 MB / 0.6365 GB, free: 14.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.783, allocations: 1.043 MB / 0.6375 GB, free: 13.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.783, allocations: 7.891 kB / 0.6375 GB, free: 13.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.7834, allocations: 219.8 kB / 0.6377 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009529/0.7844, allocations: 161.2 kB / 0.6378 GB, free: 12.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.7872, allocations: 1.388 MB / 0.6392 GB, free: 11.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005867/0.7878, allocations: 0.9745 MB / 0.6402 GB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007596/0.7886, allocations: 187.2 kB / 0.6403 GB, free: 10.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.789, allocations: 251.3 kB / 0.6406 GB, free: 9.996 MB / 458.7 MB Notification: Performance of SimCode: time 1.022e-06/0.789, allocations: 0 / 0.6406 GB, free: 9.996 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/0.8257, allocations: 15.49 MB / 0.6557 GB, free: 10.66 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.826, allocations: 185.2 kB / 0.6559 GB, free: 10.42 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/3.442, allocations: 0 / 0.6559 GB, free: 10.42 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat