Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.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.Continuous_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 197.8 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.516/1.516, allocations: 227.2 MB / 245 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.001049, allocations: 105.7 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4705/0.4705, allocations: 45.22 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 8 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.4504, allocations: 63.24 MB / 0.5193 GB, free: 43.65 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.17/0.6205, allocations: 97.87 MB / 0.6148 GB, free: 7.727 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.6208, allocations: 72.94 kB / 0.6149 GB, free: 7.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06254/0.6834, allocations: 20.23 MB / 0.6347 GB, free: 3.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.649e-06/0.6834, allocations: 0 / 0.6347 GB, free: 3.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.654e-05/0.6835, allocations: 23.94 kB / 0.6347 GB, free: 3.387 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.002374/0.6859, allocations: 1.09 MB / 0.6357 GB, free: 2.246 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.6859, allocations: 12.02 kB / 0.6358 GB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.6861, allocations: 82.53 kB / 0.6358 GB, free: 2.145 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.6864, allocations: 107 kB / 0.6359 GB, free: 2.039 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.6877, allocations: 0.5782 MB / 0.6365 GB, free: 1.418 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.6877, allocations: 37 kB / 0.6365 GB, free: 1.379 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.6879, allocations: 59.91 kB / 0.6366 GB, free: 1.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.689, allocations: 0.629 MB / 0.6372 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.6891, allocations: 7.953 kB / 0.6372 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.6891, allocations: 23.98 kB / 0.6372 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.6892, allocations: 12 kB / 0.6372 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.6903, allocations: 0.4939 MB / 0.6377 GB, free: 112 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/0.6943, allocations: 2.659 MB / 0.6403 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.6956, allocations: 0.5904 MB / 0.6409 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.227e-05/0.6957, allocations: 12.02 kB / 0.6409 GB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.6957, allocations: 38.56 kB / 0.6409 GB, free: 12.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=43): time 3.136e-06/0.6957, allocations: 0 / 0.6409 GB, free: 12.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.002623/0.6984, allocations: 1.197 MB / 0.6421 GB, free: 11.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.6984, allocations: 140.5 kB / 0.6423 GB, free: 11.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008384/0.6993, allocations: 0.5777 MB / 0.6428 GB, free: 10.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.6994, allocations: 41.7 kB / 0.6429 GB, free: 10.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.6996, allocations: 352 kB / 0.6432 GB, free: 10.31 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.6998, allocations: 169.5 kB / 0.6434 GB, free: 10.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.6998, allocations: 16 kB / 0.6434 GB, free: 10.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.7, allocations: 322 kB / 0.6437 GB, free: 9.805 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.7006, allocations: 289.1 kB / 0.644 GB, free: 9.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007282/0.7014, allocations: 443.3 kB / 0.6444 GB, free: 9.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/0.702, allocations: 319.1 kB / 0.6447 GB, free: 8.711 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.702, allocations: 4 kB / 0.6447 GB, free: 8.707 MB / 458.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001769/0.7038, allocations: 0.8695 MB / 0.6455 GB, free: 7.832 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000785/0.7046, allocations: 1.747 MB / 0.6472 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.7046, allocations: 8 kB / 0.6472 GB, free: 5.941 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/0.7049, allocations: 60.81 kB / 0.6473 GB, free: 5.879 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009974/0.7059, allocations: 211.7 kB / 0.6475 GB, free: 5.672 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.7073, allocations: 1.514 MB / 0.649 GB, free: 4.027 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006744/0.708, allocations: 83.81 kB / 0.6491 GB, free: 3.945 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/0.708, allocations: 32 kB / 0.6491 GB, free: 3.914 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.708, allocations: 4 kB / 0.6491 GB, free: 3.91 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001494/0.7095, allocations: 0.7346 MB / 0.6498 GB, free: 3.172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7096, allocations: 8.094 kB / 0.6498 GB, free: 3.164 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.7097, allocations: 56.81 kB / 0.6499 GB, free: 3.105 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.7106, allocations: 199.8 kB / 0.6501 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.7119, allocations: 1.514 MB / 0.6515 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006935/0.7126, allocations: 87.55 kB / 0.6516 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.7126, allocations: 24 kB / 0.6517 GB, free: 1.152 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.0004335/0.7131, allocations: 289 kB / 0.6519 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.7132, allocations: 75.06 kB / 0.652 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.7134, allocations: 90.2 kB / 0.6521 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7134, allocations: 8 kB / 0.6521 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7134, allocations: 0 / 0.6521 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.7134, allocations: 0 / 0.6521 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.7147, allocations: 0.8492 MB / 0.6529 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.7148, allocations: 0 / 0.6529 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.7154, allocations: 123.9 kB / 0.653 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7155, allocations: 3.938 kB / 0.653 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/0.7155, allocations: 19.98 kB / 0.6531 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.7155, allocations: 0 / 0.6531 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7155, allocations: 7.953 kB / 0.6531 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.7176, allocations: 1.226 MB / 0.6543 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.7178, allocations: 200.1 kB / 0.6545 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.7179, allocations: 15.95 kB / 0.6545 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005975/0.7185, allocations: 67.94 kB / 0.6545 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.7187, allocations: 35.94 kB / 0.6546 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.7187, allocations: 12 kB / 0.6546 GB, free: 14.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006727/0.7194, allocations: 467 kB / 0.655 GB, free: 13.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7194, allocations: 0 / 0.655 GB, free: 13.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008886/0.7203, allocations: 204 kB / 0.6552 GB, free: 13.37 MB / 474.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.002442/0.7227, allocations: 1.93 MB / 0.6571 GB, free: 11.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.7254, allocations: 1.253 MB / 0.6583 GB, free: 10.13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7254, allocations: 0 / 0.6583 GB, free: 10.13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006412/0.7261, allocations: 304.8 kB / 0.6586 GB, free: 9.836 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008896/0.727, allocations: 162.6 kB / 0.6588 GB, free: 9.684 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009243/0.7362, allocations: 7.767 MB / 0.6664 GB, free: 1.703 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.7368, allocations: 0.9614 MB / 0.6673 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006064/0.7374, allocations: 148.9 kB / 0.6674 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.7378, allocations: 259.3 kB / 0.6677 GB, free: 324 kB / 474.7 MB Notification: Performance of SimCode: time 5.841e-06/0.7378, allocations: 0 / 0.6677 GB, free: 324 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.768, allocations: 14.33 MB / 0.6817 GB, free: 2.207 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.7683, allocations: 192 kB / 0.6819 GB, free: 1.969 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/3.448, allocations: 3.938 kB / 0.6819 GB, free: 1.965 MB / 490.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat