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.001337/0.001337, allocations: 177 kB / 17.06 MB, free: 5.094 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.292/1.292, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009589/0.0009588, allocations: 90.05 kB / 292.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3325/0.3325, allocations: 44.22 MB / 387.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003321, allocations: 12 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3557, allocations: 61.9 MB / 0.5096 GB, free: 37.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.4788, allocations: 96.78 MB / 0.6041 GB, free: 14.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.4792, allocations: 67.94 kB / 0.6042 GB, free: 14.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06032/0.5395, allocations: 20.19 MB / 0.6239 GB, free: 9.996 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5395, allocations: 0 / 0.6239 GB, free: 9.996 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001045/0.5397, allocations: 24.38 kB / 0.6239 GB, free: 9.973 MB / 442.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.002598/0.5423, allocations: 1.086 MB / 0.625 GB, free: 8.836 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5423, allocations: 8.031 kB / 0.625 GB, free: 8.828 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002037/0.5425, allocations: 90.52 kB / 0.6251 GB, free: 8.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/0.5428, allocations: 90.92 kB / 0.6252 GB, free: 8.641 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.5441, allocations: 0.5859 MB / 0.6258 GB, free: 8.012 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.5442, allocations: 37 kB / 0.6258 GB, free: 7.973 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.5443, allocations: 55.89 kB / 0.6258 GB, free: 7.918 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.5454, allocations: 0.6291 MB / 0.6265 GB, free: 7.238 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.5454, allocations: 3.938 kB / 0.6265 GB, free: 7.234 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.5455, allocations: 20 kB / 0.6265 GB, free: 7.215 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.5455, allocations: 12 kB / 0.6265 GB, free: 7.203 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.5466, allocations: 0.4967 MB / 0.627 GB, free: 6.711 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003795/0.5504, allocations: 2.659 MB / 0.6296 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.5518, allocations: 0.5854 MB / 0.6301 GB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.5518, allocations: 12.05 kB / 0.6302 GB, free: 3.328 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.5519, allocations: 46.58 kB / 0.6302 GB, free: 3.273 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 2.686e-06/0.5519, allocations: 0 / 0.6302 GB, free: 3.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.002615/0.5545, allocations: 1.197 MB / 0.6314 GB, free: 2.066 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.5546, allocations: 148.3 kB / 0.6315 GB, free: 1.891 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008327/0.5555, allocations: 0.5701 MB / 0.6321 GB, free: 1.312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.5555, allocations: 37.7 kB / 0.6321 GB, free: 1.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.5558, allocations: 352.1 kB / 0.6324 GB, free: 0.918 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.5559, allocations: 177.5 kB / 0.6326 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.556, allocations: 12 kB / 0.6326 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5561, allocations: 326 kB / 0.6329 GB, free: 416 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000613/0.5567, allocations: 281.1 kB / 0.6332 GB, free: 132 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007566/0.5575, allocations: 437.2 kB / 0.6336 GB, free: 15.63 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007222/0.5582, allocations: 329.2 kB / 0.6339 GB, free: 15.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5582, allocations: 11.88 kB / 0.6339 GB, free: 15.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00186/0.5601, allocations: 0.8618 MB / 0.6348 GB, free: 14.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000836/0.5609, allocations: 1.746 MB / 0.6365 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.561, allocations: 8 kB / 0.6365 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002519/0.5612, allocations: 60.81 kB / 0.6366 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000949/0.5622, allocations: 203.8 kB / 0.6368 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.5635, allocations: 1.518 MB / 0.6382 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.5642, allocations: 87.62 kB / 0.6383 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.5642, allocations: 28.19 kB / 0.6383 GB, free: 10.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.5642, allocations: 4 kB / 0.6383 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001448/0.5657, allocations: 0.7388 MB / 0.6391 GB, free: 9.773 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5657, allocations: 4 kB / 0.6391 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.5659, allocations: 64.84 kB / 0.6391 GB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008952/0.5668, allocations: 199.7 kB / 0.6393 GB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.5679, allocations: 1.507 MB / 0.6408 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/0.5686, allocations: 91.59 kB / 0.6409 GB, free: 7.777 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.5686, allocations: 24 kB / 0.6409 GB, free: 7.754 MB / 458.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 () * Number of clocked 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.0004069/0.569, allocations: 292.9 kB / 0.6412 GB, free: 7.457 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.5692, allocations: 79.05 kB / 0.6413 GB, free: 7.379 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.5694, allocations: 90.22 kB / 0.6413 GB, free: 7.285 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.5694, allocations: 4 kB / 0.6414 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5694, allocations: 0 / 0.6414 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5695, allocations: 3.984 kB / 0.6414 GB, free: 7.277 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.5709, allocations: 0.8415 MB / 0.6422 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5709, allocations: 4 kB / 0.6422 GB, free: 6.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006659/0.5716, allocations: 115.9 kB / 0.6423 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.5716, allocations: 4 kB / 0.6423 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.5717, allocations: 12 kB / 0.6423 GB, free: 6.246 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.5717, allocations: 4 kB / 0.6423 GB, free: 6.242 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5717, allocations: 0 / 0.6423 GB, free: 6.242 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.5736, allocations: 1.231 MB / 0.6435 GB, free: 4.977 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.5739, allocations: 200.1 kB / 0.6437 GB, free: 4.762 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-05/0.574, allocations: 16 kB / 0.6437 GB, free: 4.746 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/0.5747, allocations: 71.92 kB / 0.6438 GB, free: 4.676 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.5748, allocations: 35.91 kB / 0.6438 GB, free: 4.641 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.5748, allocations: 23.92 kB / 0.6438 GB, free: 4.617 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006974/0.5755, allocations: 459 kB / 0.6443 GB, free: 4.176 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5755, allocations: 0 / 0.6443 GB, free: 4.176 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008723/0.5764, allocations: 200 kB / 0.6445 GB, free: 3.98 MB / 458.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 () * Number of clocked 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.002464/0.5789, allocations: 1.932 MB / 0.6464 GB, free: 2.012 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002593/0.5815, allocations: 1.251 MB / 0.6476 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5815, allocations: 3.938 kB / 0.6476 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006281/0.5822, allocations: 296.7 kB / 0.6479 GB, free: 460 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/0.5831, allocations: 161.4 kB / 0.648 GB, free: 300 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009412/0.5925, allocations: 7.775 MB / 0.6556 GB, free: 8.309 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/0.5931, allocations: 0.9614 MB / 0.6566 GB, free: 7.316 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006171/0.5938, allocations: 144.8 kB / 0.6567 GB, free: 7.176 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.5942, allocations: 263.3 kB / 0.6569 GB, free: 6.918 MB / 474.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5942, allocations: 0 / 0.6569 GB, free: 6.918 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.6237, allocations: 14.34 MB / 0.6709 GB, free: 8.809 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.6239, allocations: 200.8 kB / 0.6711 GB, free: 8.566 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.874, allocations: 0 / 0.6711 GB, free: 8.566 MB / 490.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