Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001036, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009343/0.0009343, allocations: 95.36 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 45.15 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.717e-05/1.718e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 63.25 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4661/0.5817, allocations: 97.37 MB / 0.5995 GB, free: 4.973 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.582, allocations: 67.09 kB / 0.5996 GB, free: 4.941 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08539/0.6674, allocations: 29.12 MB / 0.628 GB, free: 12.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.6675, allocations: 0 / 0.628 GB, free: 12.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.035e-05/0.6676, allocations: 23.94 kB / 0.6281 GB, free: 12.61 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.002014/0.6696, allocations: 0.9602 MB / 0.629 GB, free: 11.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.6697, allocations: 8.031 kB / 0.629 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003672/0.67, allocations: 114 kB / 0.6291 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.6712, allocations: 0.5748 MB / 0.6297 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.6712, allocations: 16 kB / 0.6297 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-05/0.6713, allocations: 39.89 kB / 0.6297 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006759/0.672, allocations: 328.9 kB / 0.63 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008892/0.6729, allocations: 493 kB / 0.6305 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.6729, allocations: 4 kB / 0.6305 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.673, allocations: 0 / 0.6305 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.673, allocations: 12 kB / 0.6305 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/0.6767, allocations: 2.583 MB / 0.6331 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.6773, allocations: 410.6 kB / 0.6334 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.6776, allocations: 189.2 kB / 0.6336 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.6776, allocations: 8.219 kB / 0.6336 GB, free: 7.516 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.6777, allocations: 42.3 kB / 0.6337 GB, free: 7.469 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.854e-06/0.6777, allocations: 0 / 0.6337 GB, free: 7.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.001284/0.679, allocations: 0.775 MB / 0.6344 GB, free: 6.793 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.679, allocations: 110.8 kB / 0.6345 GB, free: 6.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.6796, allocations: 495.7 kB / 0.635 GB, free: 6.277 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.6796, allocations: 25.7 kB / 0.635 GB, free: 6.246 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.6799, allocations: 362.5 kB / 0.6354 GB, free: 6.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.68, allocations: 173.1 kB / 0.6355 GB, free: 5.871 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.68, allocations: 4.094 kB / 0.6355 GB, free: 5.867 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.6802, allocations: 385.5 kB / 0.6359 GB, free: 5.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/0.6806, allocations: 195 kB / 0.6361 GB, free: 5.391 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.681, allocations: 338.9 kB / 0.6364 GB, free: 5.082 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.6814, allocations: 249.8 kB / 0.6367 GB, free: 4.914 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6815, allocations: 0 / 0.6367 GB, free: 4.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009868/0.6825, allocations: 0.6321 MB / 0.6373 GB, free: 4.414 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007054/0.6832, allocations: 1.742 MB / 0.639 GB, free: 2.566 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.6832, allocations: 4 kB / 0.639 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.6832, allocations: 11.95 kB / 0.639 GB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.6843, allocations: 206.7 kB / 0.6392 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.6843, allocations: 11.94 kB / 0.6392 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.6848, allocations: 79.56 kB / 0.6393 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.6849, allocations: 23.19 kB / 0.6393 GB, free: 2.246 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.6849, allocations: 4 kB / 0.6393 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008708/0.6858, allocations: 0.5237 MB / 0.6398 GB, free: 1.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6858, allocations: 4 kB / 0.6398 GB, free: 1.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.6858, allocations: 15.97 kB / 0.6398 GB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/0.6867, allocations: 203.5 kB / 0.64 GB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6868, allocations: 11.94 kB / 0.64 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.6872, allocations: 79.16 kB / 0.6401 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.6873, allocations: 23.38 kB / 0.6401 GB, free: 1.535 MB / 426.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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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 0.0001485/0.6875, allocations: 124.4 kB / 0.6403 GB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007164/0.6882, allocations: 448.5 kB / 0.6407 GB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.6883, allocations: 75.06 kB / 0.6408 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.6885, allocations: 84.36 kB / 0.6408 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6886, allocations: 11.98 kB / 0.6409 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6886, allocations: 0 / 0.6409 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6886, allocations: 4 kB / 0.6409 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.6901, allocations: 1.117 MB / 0.6419 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.6901, allocations: 0 / 0.6419 GB, free: 4 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006661/0.6908, allocations: 118.7 kB / 0.6421 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.6908, allocations: 4 kB / 0.6421 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.6909, allocations: 11.94 kB / 0.6421 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.6909, allocations: 3.938 kB / 0.6421 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6909, allocations: 7.953 kB / 0.6421 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.6921, allocations: 0.9909 MB / 0.6431 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.6923, allocations: 201 kB / 0.6432 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/0.6924, allocations: 4 kB / 0.6432 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005253/0.6929, allocations: 47.94 kB / 0.6433 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.6931, allocations: 46.81 kB / 0.6433 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.6931, allocations: 15.94 kB / 0.6434 GB, free: 14.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004428/0.6935, allocations: 372 kB / 0.6437 GB, free: 14.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6936, allocations: 0 / 0.6437 GB, free: 14.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008889/0.6944, allocations: 203.9 kB / 0.6439 GB, free: 14.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.001771/0.6962, allocations: 1.87 MB / 0.6457 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.6974, allocations: 0.7695 MB / 0.6465 GB, free: 12.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6974, allocations: 0 / 0.6465 GB, free: 12.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.6978, allocations: 225.5 kB / 0.6467 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/0.6986, allocations: 160.9 kB / 0.6468 GB, free: 11.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.7012, allocations: 1.354 MB / 0.6482 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.7018, allocations: 0.9743 MB / 0.6491 GB, free: 9.449 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007466/0.7025, allocations: 199.1 kB / 0.6493 GB, free: 9.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.7028, allocations: 253.8 kB / 0.6496 GB, free: 9.188 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.7029, allocations: 0 / 0.6496 GB, free: 9.188 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04055/0.7434, allocations: 14.15 MB / 0.6634 GB, free: 11.09 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.7437, allocations: 147.2 kB / 0.6635 GB, free: 10.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.213, allocations: 0 / 0.6635 GB, free: 10.89 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat