Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002413/0.002418, allocations: 187.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.332/2.332, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 106.8 kB / 270.9 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.311/0.311, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006921/0.0006927, allocations: 12 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1422, allocations: 58.86 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.005375/0.1476, allocations: 2.841 MB / 493.2 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004565/0.1523, allocations: 1.494 MB / 494.7 MB, free: 4.883 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007927/0.1531, allocations: 19.88 kB / 494.7 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.1538, allocations: 83.39 kB / 494.8 MB, free: 4.781 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.1549, allocations: 191.4 kB / 494.9 MB, free: 4.594 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.1571, allocations: 423.2 kB / 495.4 MB, free: 4.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001999/0.1592, allocations: 0.5773 MB / 495.9 MB, free: 3.598 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005877/0.1598, allocations: 181.2 kB / 496.1 MB, free: 3.406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.1609, allocations: 318.7 kB / 496.4 MB, free: 3.094 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009274/0.1619, allocations: 310.4 kB / 496.7 MB, free: 2.789 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.1622, allocations: 20 kB / 496.7 MB, free: 2.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.1624, allocations: 28 kB / 496.8 MB, free: 2.742 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.1627, allocations: 155.4 kB / 496.9 MB, free: 2.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.1629, allocations: 133.3 kB / 497.1 MB, free: 2.453 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.164, allocations: 0.5339 MB / 497.6 MB, free: 1.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1641, allocations: 0 / 497.6 MB, free: 1.918 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1641, allocations: 4 kB / 497.6 MB, free: 1.914 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.749e-05/0.1641, allocations: 0 / 497.6 MB, free: 1.914 MB / 330.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.004005/0.1681, allocations: 1.059 MB / 498.7 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.1682, allocations: 8.031 kB / 498.7 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002808/0.1685, allocations: 82.53 kB / 498.7 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.1688, allocations: 90.92 kB / 498.8 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.1707, allocations: 0.546 MB / 499.4 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.1709, allocations: 41.05 kB / 499.4 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.171, allocations: 51.91 kB / 499.5 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.1732, allocations: 0.6213 MB / 0.4884 GB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.1733, allocations: 3.938 kB / 0.4884 GB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/0.1734, allocations: 16 kB / 0.4884 GB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.1734, allocations: 12 kB / 0.4884 GB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.1755, allocations: 0.4978 MB / 0.4889 GB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007094/0.1827, allocations: 2.694 MB / 0.4915 GB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/0.1852, allocations: 0.5819 MB / 0.4921 GB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.802e-05/0.1853, allocations: 4 kB / 0.4921 GB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.242e-05/0.1854, allocations: 51.02 kB / 0.4921 GB, free: 11.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 6.452e-06/0.1854, allocations: 0 / 0.4921 GB, free: 11.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.004973/0.1904, allocations: 1.217 MB / 0.4933 GB, free: 10.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.1906, allocations: 136.5 kB / 0.4935 GB, free: 9.879 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.1922, allocations: 0.649 MB / 0.4941 GB, free: 9.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001992/0.1925, allocations: 37.7 kB / 0.4941 GB, free: 9.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/0.193, allocations: 370.5 kB / 0.4945 GB, free: 8.816 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/0.1934, allocations: 181.4 kB / 0.4946 GB, free: 8.637 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.1934, allocations: 16 kB / 0.4947 GB, free: 8.621 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.1936, allocations: 334.8 kB / 0.495 GB, free: 8.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.195, allocations: 285.1 kB / 0.4953 GB, free: 8.008 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.1965, allocations: 445.2 kB / 0.4957 GB, free: 7.508 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.198, allocations: 341 kB / 0.496 GB, free: 7.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1981, allocations: 0 / 0.496 GB, free: 7.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003156/0.2013, allocations: 0.7752 MB / 0.4968 GB, free: 6.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001059/0.2024, allocations: 1.753 MB / 0.4985 GB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.2024, allocations: 7.984 kB / 0.4985 GB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.63e-05/0.2025, allocations: 8 kB / 0.4985 GB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.204, allocations: 163.8 kB / 0.4986 GB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.628e-05/0.2041, allocations: 11.92 kB / 0.4987 GB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.2053, allocations: 87.64 kB / 0.4987 GB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.2054, allocations: 24 kB / 0.4988 GB, free: 4.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2054, allocations: 7.984 kB / 0.4988 GB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002783/0.2082, allocations: 0.7103 MB / 0.4995 GB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.2083, allocations: 4 kB / 0.4995 GB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.2083, allocations: 8 kB / 0.4995 GB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.2097, allocations: 156.2 kB / 0.4996 GB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.294e-05/0.2097, allocations: 15.89 kB / 0.4996 GB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007072/0.2105, allocations: 67.66 kB / 0.4997 GB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.581e-05/0.2106, allocations: 24 kB / 0.4997 GB, free: 3.223 MB / 346.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 (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.0006205/0.2112, allocations: 292.9 kB / 0.5 GB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.2115, allocations: 75.06 kB / 0.5001 GB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.2118, allocations: 94.28 kB / 0.5002 GB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.2118, allocations: 4 kB / 0.5002 GB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.2118, allocations: 3.953 kB / 0.5002 GB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.2118, allocations: 0 / 0.5002 GB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.2142, allocations: 0.8609 MB / 0.501 GB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.2143, allocations: 3.938 kB / 0.501 GB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.2157, allocations: 119.9 kB / 0.5011 GB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.2158, allocations: 0 / 0.5011 GB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.2159, allocations: 23.94 kB / 0.5012 GB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/0.216, allocations: 4 kB / 0.5012 GB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.216, allocations: 4 kB / 0.5012 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004065/0.2201, allocations: 1.226 MB / 0.5024 GB, free: 432 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005667/0.2207, allocations: 192.2 kB / 0.5025 GB, free: 220 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.2208, allocations: 12 kB / 0.5026 GB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.2219, allocations: 63.94 kB / 0.5026 GB, free: 144 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.2221, allocations: 36.03 kB / 0.5027 GB, free: 108 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.2222, allocations: 12 kB / 0.5027 GB, free: 96 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001258/0.2235, allocations: 467 kB / 0.5031 GB, free: 15.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.2235, allocations: 0 / 0.5031 GB, free: 15.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00141/0.2249, allocations: 192 kB / 0.5033 GB, free: 15.45 MB / 362.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.00465/0.2296, allocations: 1.928 MB / 0.5052 GB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004204/0.2339, allocations: 1.021 MB / 0.5062 GB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.234, allocations: 0 / 0.5062 GB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.2353, allocations: 295.8 kB / 0.5065 GB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.2371, allocations: 162.9 kB / 0.5066 GB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/0.2543, allocations: 7.766 MB / 0.5142 GB, free: 4.043 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008671/0.2553, allocations: 0.969 MB / 0.5151 GB, free: 3.047 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008485/0.2562, allocations: 267.3 kB / 0.5154 GB, free: 2.785 MB / 362.7 MB Notification: Performance of SimCode: time 4.499e-06/0.2562, allocations: 0 / 0.5154 GB, free: 2.785 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.339/3.595, allocations: 11.56 MB / 0.5267 GB, free: 42.41 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat