Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",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.001863/0.001863, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.000778/0.0007779, allocations: 93.08 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4573/0.4573, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.113e-05, allocations: 0 / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1393, allocations: 58.84 MB / 484.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4689/0.6082, allocations: 96.09 MB / 0.5667 GB, free: 9.586 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.6085, allocations: 73.36 kB / 0.5668 GB, free: 9.551 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08334/0.6919, allocations: 29.38 MB / 0.5955 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6919, allocations: 0 / 0.5955 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001039/0.692, allocations: 24.38 kB / 0.5955 GB, free: 0.7383 MB / 410.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.002063/0.6941, allocations: 0.958 MB / 0.5965 GB, free: 15.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.6942, allocations: 8.031 kB / 0.5965 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.6943, allocations: 81.28 kB / 0.5965 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.6944, allocations: 94.81 kB / 0.5966 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.6957, allocations: 0.5935 MB / 0.5972 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.6958, allocations: 41.52 kB / 0.5973 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.891e-05/0.6959, allocations: 52.47 kB / 0.5973 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009005/0.6968, allocations: 0.5454 MB / 0.5978 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.6968, allocations: 7.938 kB / 0.5978 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.6969, allocations: 18.81 kB / 0.5979 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.6969, allocations: 12 kB / 0.5979 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006334/0.6975, allocations: 369.7 kB / 0.5982 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.7015, allocations: 2.671 MB / 0.6008 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006541/0.7022, allocations: 426.8 kB / 0.6012 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.7025, allocations: 208.5 kB / 0.6014 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.657e-05/0.7025, allocations: 8.234 kB / 0.6014 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.7026, allocations: 46.41 kB / 0.6015 GB, free: 11.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/0.7026, allocations: 0 / 0.6015 GB, free: 11.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.001466/0.7041, allocations: 0.8105 MB / 0.6023 GB, free: 10.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.7041, allocations: 106.8 kB / 0.6024 GB, free: 10.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000706/0.7049, allocations: 0.5473 MB / 0.6029 GB, free: 10.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.7049, allocations: 40.95 kB / 0.603 GB, free: 10.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.7052, allocations: 356.6 kB / 0.6033 GB, free: 9.855 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.7054, allocations: 178.7 kB / 0.6035 GB, free: 9.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.7054, allocations: 14.56 kB / 0.6035 GB, free: 9.699 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7056, allocations: 332.3 kB / 0.6038 GB, free: 9.379 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.706, allocations: 204.5 kB / 0.604 GB, free: 9.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.7064, allocations: 358 kB / 0.6043 GB, free: 8.922 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.7069, allocations: 257.4 kB / 0.6046 GB, free: 8.746 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.7069, allocations: 4 kB / 0.6046 GB, free: 8.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001156/0.708, allocations: 0.6766 MB / 0.6052 GB, free: 8.219 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007975/0.7089, allocations: 1.751 MB / 0.607 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.7089, allocations: 7.953 kB / 0.607 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.7089, allocations: 8 kB / 0.607 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.71, allocations: 209.8 kB / 0.6072 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.71, allocations: 7.984 kB / 0.6072 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.7106, allocations: 92.86 kB / 0.6073 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-05/0.7107, allocations: 27.42 kB / 0.6073 GB, free: 6.035 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.7107, allocations: 4 kB / 0.6073 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001021/0.7117, allocations: 0.5853 MB / 0.6079 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.7118, allocations: 4 kB / 0.6079 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.7118, allocations: 8.938 kB / 0.6079 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009427/0.7127, allocations: 207.6 kB / 0.6081 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.7128, allocations: 8 kB / 0.6081 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005077/0.7133, allocations: 74.52 kB / 0.6082 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.7133, allocations: 35.36 kB / 0.6082 GB, free: 5.305 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.0001609/0.7135, allocations: 140.1 kB / 0.6083 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.7137, allocations: 79 kB / 0.6084 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.7139, allocations: 90.67 kB / 0.6085 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.7139, allocations: 4 kB / 0.6085 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.714, allocations: 3.984 kB / 0.6085 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.714, allocations: 5.594 kB / 0.6085 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.7158, allocations: 1.202 MB / 0.6097 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7158, allocations: 0 / 0.6097 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006741/0.7165, allocations: 115.6 kB / 0.6098 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.7165, allocations: 4 kB / 0.6098 GB, free: 3.926 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.7165, allocations: 18.36 kB / 0.6098 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.7166, allocations: 4 kB / 0.6098 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.7166, allocations: 96 / 0.6098 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.7179, allocations: 1.038 MB / 0.6108 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.7183, allocations: 201.2 kB / 0.611 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.609e-05/0.7184, allocations: 15.44 kB / 0.611 GB, free: 2.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.719, allocations: 59.81 kB / 0.6111 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/0.7192, allocations: 42.5 kB / 0.6111 GB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.7193, allocations: 11.62 kB / 0.6111 GB, free: 2.746 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006172/0.7199, allocations: 436.2 kB / 0.6116 GB, free: 2.422 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7199, allocations: 3.938 kB / 0.6116 GB, free: 2.418 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001047/0.721, allocations: 231.3 kB / 0.6118 GB, free: 2.215 MB / 426.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.002012/0.723, allocations: 1.901 MB / 0.6136 GB, free: 496 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.7246, allocations: 0.8233 MB / 0.6144 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.7246, allocations: 3.938 kB / 0.6144 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.725, allocations: 232.5 kB / 0.6147 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.726, allocations: 168.3 kB / 0.6148 GB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.7288, allocations: 1.396 MB / 0.6162 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.7294, allocations: 0.9747 MB / 0.6171 GB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007972/0.7302, allocations: 207.3 kB / 0.6173 GB, free: 13.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.7306, allocations: 258.9 kB / 0.6176 GB, free: 13.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7306, allocations: 0 / 0.6176 GB, free: 13.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.7634, allocations: 15.45 MB / 0.6327 GB, free: 13.64 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/0.7638, allocations: 150.1 kB / 0.6328 GB, free: 13.42 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.301, allocations: 0 / 0.6328 GB, free: 13.42 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat