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.001189/0.001189, allocations: 97.81 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00152/0.00152, allocations: 202.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2485/0.2485, allocations: 45.92 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.000332, allocations: 8 kB / 418 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 63.47 MB / 481.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003727/0.1474, allocations: 2.836 MB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.1505, allocations: 1.49 MB / 485.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003883/0.1509, allocations: 19.88 kB / 485.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.1513, allocations: 95.33 kB / 486 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.1518, allocations: 179.4 kB / 486.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.153, allocations: 430.7 kB / 486.6 MB, free: 256 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000911/0.1539, allocations: 0.5619 MB / 487.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.1542, allocations: 169.2 kB / 487.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005175/0.1548, allocations: 322.7 kB / 487.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000458/0.1552, allocations: 322.4 kB / 487.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.1553, allocations: 20 kB / 487.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-05/0.1554, allocations: 24 kB / 488 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.1556, allocations: 147.4 kB / 488.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1557, allocations: 129.3 kB / 488.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005633/0.1563, allocations: 0.5455 MB / 488.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1563, allocations: 0 / 488.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1563, allocations: 0 / 488.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.1564, allocations: 0 / 488.8 MB, free: 14.01 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.002207/0.1586, allocations: 1.055 MB / 489.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.1586, allocations: 12.03 kB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.1587, allocations: 82.52 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.159, allocations: 103 kB / 490 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.1601, allocations: 0.5303 MB / 490.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.1602, allocations: 41 kB / 490.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.1603, allocations: 56 kB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.1616, allocations: 0.626 MB / 491.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.1617, allocations: 7.906 kB / 491.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-05/0.1617, allocations: 16 kB / 491.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.1617, allocations: 12 kB / 491.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.163, allocations: 0.4938 MB / 491.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004344/0.1673, allocations: 2.694 MB / 494.5 MB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.1686, allocations: 0.5804 MB / 495.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/0.1687, allocations: 4 kB / 495.1 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.1687, allocations: 42.55 kB / 495.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.1687, allocations: 4 kB / 495.1 MB, free: 7.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00266/0.1714, allocations: 1.207 MB / 496.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.1715, allocations: 166.2 kB / 496.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009832/0.1725, allocations: 0.645 MB / 497.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.1726, allocations: 37.7 kB / 497.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.1729, allocations: 360 kB / 497.5 MB, free: 4.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.1731, allocations: 173.5 kB / 497.7 MB, free: 4.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.1732, allocations: 12 kB / 497.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1734, allocations: 334 kB / 498 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006854/0.174, allocations: 285.1 kB / 498.3 MB, free: 4.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008238/0.1749, allocations: 449.1 kB / 498.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007525/0.1756, allocations: 338 kB / 499.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1757, allocations: 0 / 499.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001716/0.1774, allocations: 0.8341 MB / 499.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009643/0.1784, allocations: 1.746 MB / 0.4899 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1784, allocations: 4 kB / 0.4899 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.1784, allocations: 8 kB / 0.4899 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006868/0.1791, allocations: 163.7 kB / 0.4901 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.1791, allocations: 11.98 kB / 0.4901 GB, free: 364 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.1797, allocations: 95.53 kB / 0.4902 GB, free: 268 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.1797, allocations: 24 kB / 0.4902 GB, free: 244 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.507e-06/0.1797, allocations: 4 kB / 0.4902 GB, free: 240 kB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001621/0.1814, allocations: 0.7192 MB / 0.4909 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1814, allocations: 4 kB / 0.4909 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1814, allocations: 8 kB / 0.4909 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.182, allocations: 160.2 kB / 0.4911 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1821, allocations: 8 kB / 0.4911 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.1826, allocations: 87.58 kB / 0.4912 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.1826, allocations: 31.94 kB / 0.4912 GB, free: 15.22 MB / 382.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.0003997/0.183, allocations: 285.4 kB / 0.4915 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.1832, allocations: 75.06 kB / 0.4915 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.1834, allocations: 94.2 kB / 0.4916 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1834, allocations: 7.938 kB / 0.4916 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.1834, allocations: 0 / 0.4916 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.1834, allocations: 7.938 kB / 0.4916 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.185, allocations: 0.8647 MB / 0.4925 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.185, allocations: 0 / 0.4925 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006394/0.1856, allocations: 123.9 kB / 0.4926 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1857, allocations: 0 / 0.4926 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.1857, allocations: 15.98 kB / 0.4926 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1857, allocations: 3.953 kB / 0.4926 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.1857, allocations: 4 kB / 0.4926 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.1881, allocations: 1.219 MB / 0.4938 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.1884, allocations: 204.1 kB / 0.494 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.1885, allocations: 19.98 kB / 0.494 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.189, allocations: 59.94 kB / 0.4941 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.1892, allocations: 39.94 kB / 0.4941 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.1892, allocations: 12 kB / 0.4941 GB, free: 12.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000699/0.1899, allocations: 455 kB / 0.4946 GB, free: 11.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1899, allocations: 0 / 0.4946 GB, free: 11.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008407/0.1908, allocations: 192 kB / 0.4947 GB, free: 11.46 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.002587/0.1934, allocations: 1.919 MB / 0.4966 GB, free: 9.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002412/0.1958, allocations: 1.009 MB / 0.4976 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.1958, allocations: 4 kB / 0.4976 GB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006752/0.1965, allocations: 310.5 kB / 0.4979 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.1975, allocations: 164.9 kB / 0.4981 GB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.2077, allocations: 7.685 MB / 0.5056 GB, free: 144 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2372/0.445, allocations: 0.9588 MB / 0.5065 GB, free: 40.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008198/0.4459, allocations: 152.8 kB / 0.5066 GB, free: 40.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.4463, allocations: 261.8 kB / 0.5069 GB, free: 40.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4464, allocations: 0.6875 kB / 0.5069 GB, free: 40.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.4802, allocations: 13.35 MB / 0.5199 GB, free: 37.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/0.4804, allocations: 181 kB / 0.5201 GB, free: 36.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.589, allocations: 0 / 0.5201 GB, free: 36.99 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