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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.3 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 45.92 MB / 344.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.000293, allocations: 8 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1541, allocations: 63.47 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004643/0.1588, allocations: 2.828 MB / 484.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003839/0.1626, allocations: 1.513 MB / 486 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007532/0.1634, allocations: 19.88 kB / 486 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006954/0.1641, allocations: 103.3 kB / 486.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000798/0.165, allocations: 159 kB / 486.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.1665, allocations: 430.6 kB / 486.7 MB, free: 204 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.168, allocations: 0.7797 MB / 487.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004697/0.1685, allocations: 169.2 kB / 487.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006578/0.1692, allocations: 298.5 kB / 487.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006563/0.1698, allocations: 334.3 kB / 488.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.17, allocations: 20 kB / 488.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1702, allocations: 28 kB / 488.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.1704, allocations: 147.4 kB / 488.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.1707, allocations: 129.3 kB / 488.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006783/0.1714, allocations: 0.5378 MB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.1714, allocations: 0 / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1714, allocations: 0 / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.017e-05/0.1714, allocations: 4 kB / 489.1 MB, free: 13.75 MB / 366.1 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.002291/0.1737, allocations: 1.063 MB / 490.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1738, allocations: 8.031 kB / 490.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.1739, allocations: 90.52 kB / 490.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.1741, allocations: 98.95 kB / 490.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008075/0.1749, allocations: 0.5342 MB / 490.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.175, allocations: 37 kB / 490.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/0.1751, allocations: 56 kB / 491 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.1762, allocations: 0.6377 MB / 491.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.1762, allocations: 7.844 kB / 491.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.1762, allocations: 16 kB / 491.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.1763, allocations: 12 kB / 491.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1773, allocations: 0.49 MB / 492.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/0.1808, allocations: 2.682 MB / 494.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.182, allocations: 0.5845 MB / 495.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/0.1825, allocations: 270.4 kB / 495.7 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.566e-05/0.1826, allocations: 4 kB / 495.7 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.1826, allocations: 46.55 kB / 495.7 MB, free: 6.824 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/0.1826, allocations: 0 / 495.7 MB, free: 6.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00257/0.1852, allocations: 1.218 MB / 496.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.1853, allocations: 166.2 kB / 497.1 MB, free: 5.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008801/0.1862, allocations: 0.6411 MB / 497.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.1863, allocations: 37.7 kB / 497.8 MB, free: 4.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.1866, allocations: 360 kB / 498.1 MB, free: 4.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.1868, allocations: 169.6 kB / 498.3 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.1868, allocations: 12 kB / 498.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1869, allocations: 338 kB / 498.6 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.1876, allocations: 281.1 kB / 498.9 MB, free: 3.555 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008179/0.1884, allocations: 461 kB / 499.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006574/0.189, allocations: 334 kB / 499.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1891, allocations: 0 / 499.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001695/0.1908, allocations: 0.8263 MB / 0.4888 GB, free: 1.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.1909, allocations: 217.8 kB / 0.489 GB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1909, allocations: 8 kB / 0.489 GB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.191, allocations: 15.95 kB / 0.489 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.1916, allocations: 163.7 kB / 0.4892 GB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.1916, allocations: 11.94 kB / 0.4892 GB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.1921, allocations: 95.53 kB / 0.4893 GB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.1922, allocations: 23.98 kB / 0.4893 GB, free: 1.289 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.1922, allocations: 4 kB / 0.4893 GB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001572/0.1938, allocations: 0.7173 MB / 0.49 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1938, allocations: 8 kB / 0.49 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1938, allocations: 8 kB / 0.49 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.1944, allocations: 160.2 kB / 0.4902 GB, free: 408 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1944, allocations: 8 kB / 0.4902 GB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.1949, allocations: 83.62 kB / 0.4902 GB, free: 316 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.1949, allocations: 24 kB / 0.4903 GB, free: 292 kB / 366.1 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 (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.0003563/0.1953, allocations: 297.4 kB / 0.4906 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.1954, allocations: 75.06 kB / 0.4906 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.1956, allocations: 86.17 kB / 0.4907 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1957, allocations: 4 kB / 0.4907 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.1957, allocations: 4 kB / 0.4907 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.1957, allocations: 7.984 kB / 0.4907 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.197, allocations: 0.8648 MB / 0.4916 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.197, allocations: 3.938 kB / 0.4916 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/0.1976, allocations: 123.8 kB / 0.4917 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.1976, allocations: 4 kB / 0.4917 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.1977, allocations: 12 kB / 0.4917 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1977, allocations: 4 kB / 0.4917 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1977, allocations: 0 / 0.4917 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.2, allocations: 1.196 MB / 0.4929 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.2002, allocations: 200.2 kB / 0.4931 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.2003, allocations: 12 kB / 0.4931 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.2008, allocations: 63.94 kB / 0.4931 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.201, allocations: 43.88 kB / 0.4932 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.201, allocations: 12 kB / 0.4932 GB, free: 13.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006575/0.2017, allocations: 459 kB / 0.4936 GB, free: 12.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2017, allocations: 0 / 0.4936 GB, free: 12.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00085/0.2025, allocations: 196 kB / 0.4938 GB, free: 12.55 MB / 382.1 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.002275/0.2048, allocations: 1.745 MB / 0.4955 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002115/0.2069, allocations: 1.013 MB / 0.4965 GB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.207, allocations: 8 kB / 0.4965 GB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006351/0.2076, allocations: 306.3 kB / 0.4968 GB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.2087, allocations: 169.8 kB / 0.497 GB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008372/0.2171, allocations: 4.87 MB / 0.5017 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/0.2178, allocations: 0.9575 MB / 0.5027 GB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005498/0.2184, allocations: 148.7 kB / 0.5028 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.2188, allocations: 251.3 kB / 0.503 GB, free: 2.871 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2188, allocations: 4 kB / 0.503 GB, free: 2.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2531/0.4719, allocations: 13.37 MB / 0.5161 GB, free: 38.52 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.4721, allocations: 190.5 kB / 0.5163 GB, free: 38.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/2.652, allocations: 0 / 0.5163 GB, free: 38.28 MB / 382.1 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