Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 196.2 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008956/0.0008956, allocations: 88.81 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1916/0.1916, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.69e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 63.25 MB / 0.5114 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4211/0.5536, allocations: 97.94 MB / 0.6071 GB, free: 12.01 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.5538, allocations: 65.66 kB / 0.6072 GB, free: 11.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07899/0.6328, allocations: 27.96 MB / 0.6345 GB, free: 4.312 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6329, allocations: 3.938 kB / 0.6345 GB, free: 4.309 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001128/0.633, allocations: 27.94 kB / 0.6345 GB, free: 4.281 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.00206/0.635, allocations: 0.9489 MB / 0.6354 GB, free: 3.336 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.6351, allocations: 15.97 kB / 0.6354 GB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001763/0.6353, allocations: 85.14 kB / 0.6355 GB, free: 3.254 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.6357, allocations: 107 kB / 0.6356 GB, free: 3.148 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.637, allocations: 0.5596 MB / 0.6362 GB, free: 2.617 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.6371, allocations: 36.12 kB / 0.6362 GB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.6372, allocations: 66.69 kB / 0.6363 GB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008861/0.6381, allocations: 0.5419 MB / 0.6368 GB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.6381, allocations: 7.938 kB / 0.6368 GB, free: 2.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/0.6382, allocations: 21.94 kB / 0.6368 GB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.6382, allocations: 8 kB / 0.6368 GB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.6389, allocations: 375 kB / 0.6372 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00389/0.6428, allocations: 2.703 MB / 0.6398 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008202/0.6436, allocations: 482.1 kB / 0.6403 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.644, allocations: 202.4 kB / 0.6405 GB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.644, allocations: 4 kB / 0.6405 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.6441, allocations: 41.56 kB / 0.6405 GB, free: 14.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 2.705e-06/0.6441, allocations: 0 / 0.6405 GB, free: 14.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.001398/0.6455, allocations: 0.8015 MB / 0.6413 GB, free: 14.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.6456, allocations: 136.5 kB / 0.6414 GB, free: 14.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006122/0.6462, allocations: 0.5415 MB / 0.642 GB, free: 13.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.6463, allocations: 43.3 kB / 0.642 GB, free: 13.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.6465, allocations: 349.7 kB / 0.6423 GB, free: 13.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.6466, allocations: 173.4 kB / 0.6425 GB, free: 13.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.6467, allocations: 14.75 kB / 0.6425 GB, free: 13.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6468, allocations: 331 kB / 0.6428 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.6471, allocations: 201.6 kB / 0.643 GB, free: 12.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.6476, allocations: 366.3 kB / 0.6434 GB, free: 12.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.648, allocations: 251.2 kB / 0.6436 GB, free: 12.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.648, allocations: 4 kB / 0.6436 GB, free: 12.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001042/0.649, allocations: 0.6764 MB / 0.6443 GB, free: 11.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007426/0.6498, allocations: 1.747 MB / 0.646 GB, free: 9.844 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.6498, allocations: 4 kB / 0.646 GB, free: 9.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.6498, allocations: 8 kB / 0.646 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/0.6505, allocations: 171.6 kB / 0.6462 GB, free: 9.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/0.6506, allocations: 15.88 kB / 0.6462 GB, free: 9.652 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/0.6512, allocations: 95.38 kB / 0.6463 GB, free: 9.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/0.6512, allocations: 19.81 kB / 0.6463 GB, free: 9.555 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.6512, allocations: 4 kB / 0.6463 GB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/0.6524, allocations: 0.5763 MB / 0.6468 GB, free: 9.141 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.6524, allocations: 4 kB / 0.6468 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.6525, allocations: 12 kB / 0.6469 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.6531, allocations: 154.7 kB / 0.647 GB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.6532, allocations: 11.94 kB / 0.647 GB, free: 8.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005364/0.6537, allocations: 85.91 kB / 0.6471 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.6538, allocations: 23.5 kB / 0.6471 GB, free: 8.875 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 (77): * Single equations (assignments): 77 * 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 0.0001612/0.6539, allocations: 145.7 kB / 0.6473 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.6541, allocations: 75.19 kB / 0.6473 GB, free: 8.668 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.6543, allocations: 93.67 kB / 0.6474 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6543, allocations: 4 kB / 0.6474 GB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6543, allocations: 0 / 0.6474 GB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6544, allocations: 3.984 kB / 0.6474 GB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.6556, allocations: 0.8183 MB / 0.6482 GB, free: 7.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.6556, allocations: 4 kB / 0.6482 GB, free: 7.914 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006767/0.6563, allocations: 115.8 kB / 0.6483 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.6564, allocations: 0 / 0.6483 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/0.6564, allocations: 23.67 kB / 0.6484 GB, free: 7.789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6564, allocations: 4 kB / 0.6484 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6564, allocations: 4 kB / 0.6484 GB, free: 7.781 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.6576, allocations: 0.9875 MB / 0.6493 GB, free: 6.969 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.6579, allocations: 198.8 kB / 0.6495 GB, free: 6.781 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.394e-05/0.658, allocations: 14.12 kB / 0.6495 GB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.6586, allocations: 66.17 kB / 0.6496 GB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.6587, allocations: 42.03 kB / 0.6496 GB, free: 6.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.6588, allocations: 22.61 kB / 0.6497 GB, free: 6.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005456/0.6593, allocations: 426.3 kB / 0.6501 GB, free: 6.344 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6593, allocations: 0 / 0.6501 GB, free: 6.344 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008299/0.6602, allocations: 198.9 kB / 0.6503 GB, free: 6.176 MB / 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.001551/0.6617, allocations: 1.695 MB / 0.6519 GB, free: 4.668 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.6631, allocations: 0.826 MB / 0.6527 GB, free: 4.074 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6631, allocations: 0 / 0.6527 GB, free: 4.074 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.6635, allocations: 218.5 kB / 0.6529 GB, free: 3.926 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000928/0.6644, allocations: 167.8 kB / 0.6531 GB, free: 3.805 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.6673, allocations: 1.387 MB / 0.6544 GB, free: 2.516 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.6679, allocations: 0.9615 MB / 0.6554 GB, free: 1.523 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00081/0.6687, allocations: 203.1 kB / 0.6556 GB, free: 1.324 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.669, allocations: 249.9 kB / 0.6558 GB, free: 1.266 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.669, allocations: 0 / 0.6558 GB, free: 1.266 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.7006, allocations: 14.58 MB / 0.6701 GB, free: 2.84 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.7009, allocations: 151 kB / 0.6702 GB, free: 2.617 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/2.89, allocations: 0 / 0.6702 GB, free: 2.617 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat