Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",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.00163/0.00163, allocations: 183 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.781/1.781, 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.0009264/0.0009264, allocations: 90.53 kB / 267 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.4978/0.4978, allocations: 43.46 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.976e-05/3.978e-05, allocations: 4 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1789, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5243/0.7032, allocations: 100.8 MB / 0.5713 GB, free: 4.816 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.7036, allocations: 85.27 kB / 0.5714 GB, free: 4.773 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09027/0.7939, allocations: 39.18 MB / 0.6097 GB, free: 4.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.7939, allocations: 0 / 0.6097 GB, free: 4.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.166e-05/0.794, allocations: 28 kB / 0.6097 GB, free: 4.402 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.005385/0.7994, allocations: 1.695 MB / 0.6113 GB, free: 2.836 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.7995, allocations: 11.97 kB / 0.6114 GB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003448/0.7998, allocations: 199.5 kB / 0.6115 GB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007251/0.8071, allocations: 1.066 MB / 0.6126 GB, free: 1.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.8091, allocations: 0.5963 MB / 0.6132 GB, free: 1.262 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/0.8092, allocations: 100.3 kB / 0.6133 GB, free: 1.203 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/0.8094, allocations: 136.4 kB / 0.6134 GB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.8122, allocations: 1.463 MB / 0.6148 GB, free: 140 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.8123, allocations: 11.97 kB / 0.6148 GB, free: 128 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.8124, allocations: 56.19 kB / 0.6149 GB, free: 116 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.8125, allocations: 35.31 kB / 0.6149 GB, free: 84 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.8148, allocations: 1.5 MB / 0.6164 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008651/0.8235, allocations: 5.629 MB / 0.6219 GB, free: 9.742 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.8259, allocations: 2.339 MB / 0.6242 GB, free: 7.137 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009546/0.8269, allocations: 0.6256 MB / 0.6248 GB, free: 6.504 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.8271, allocations: 106.1 kB / 0.6249 GB, free: 6.383 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.8272, allocations: 51.56 kB / 0.6249 GB, free: 6.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=129): time 4.799e-06/0.8272, allocations: 0 / 0.6249 GB, free: 6.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.00242/0.8296, allocations: 1.238 MB / 0.6261 GB, free: 5.066 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.8297, allocations: 94.11 kB / 0.6262 GB, free: 4.957 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.8303, allocations: 411.8 kB / 0.6266 GB, free: 4.551 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.738e-05/0.8304, allocations: 49.7 kB / 0.6267 GB, free: 4.496 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.8307, allocations: 467.5 kB / 0.6271 GB, free: 4.031 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/0.8311, allocations: 437.7 kB / 0.6275 GB, free: 3.598 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.407e-05/0.8312, allocations: 28.03 kB / 0.6276 GB, free: 3.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.8314, allocations: 386.7 kB / 0.6279 GB, free: 3.184 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/0.8322, allocations: 426.5 kB / 0.6283 GB, free: 2.766 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009112/0.8331, allocations: 0.6676 MB / 0.629 GB, free: 1.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008774/0.834, allocations: 0.4929 MB / 0.6295 GB, free: 1.508 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.834, allocations: 0 / 0.6295 GB, free: 1.508 MB / 442.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002741/0.8367, allocations: 1.533 MB / 0.631 GB, free: 15.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.8368, allocations: 12.56 kB / 0.631 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.8368, allocations: 8 kB / 0.631 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.8384, allocations: 0.5049 MB / 0.6315 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008294/0.8392, allocations: 211.6 kB / 0.6317 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006981/0.8462, allocations: 4.256 MB / 0.6358 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.8475, allocations: 134.6 kB / 0.636 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.8476, allocations: 59.92 kB / 0.636 GB, free: 10.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002892/0.8479, allocations: 181.4 kB / 0.6362 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.8481, allocations: 79.06 kB / 0.6363 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/0.851, allocations: 1.509 MB / 0.6377 GB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.851, allocations: 12 kB / 0.6378 GB, free: 8.855 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.851, allocations: 4 kB / 0.6378 GB, free: 8.852 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.851, allocations: 7.984 kB / 0.6378 GB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004723/0.8558, allocations: 2.828 MB / 0.6405 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.8558, allocations: 0 / 0.6405 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006839/0.8565, allocations: 147.8 kB / 0.6407 GB, free: 5.805 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.858, allocations: 0.5067 MB / 0.6412 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.968e-05/0.8581, allocations: 24.11 kB / 0.6412 GB, free: 5.273 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006635/0.8647, allocations: 4.266 MB / 0.6454 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.8647, allocations: 3.938 kB / 0.6454 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/0.8684, allocations: 2.203 MB / 0.6475 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005039/0.8689, allocations: 299.6 kB / 0.6478 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.869, allocations: 20 kB / 0.6478 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006311/0.8696, allocations: 64.03 kB / 0.6479 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.8699, allocations: 97.16 kB / 0.648 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.87, allocations: 36 kB / 0.648 GB, free: 14.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004161/0.8704, allocations: 321.6 kB / 0.6483 GB, free: 13.79 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.8704, allocations: 0 / 0.6483 GB, free: 13.79 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001377/0.8718, allocations: 423 kB / 0.6487 GB, free: 13.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.00398/0.8758, allocations: 2.967 MB / 0.6516 GB, free: 10.37 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003674/0.8795, allocations: 1.683 MB / 0.6533 GB, free: 8.672 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.8795, allocations: 0 / 0.6533 GB, free: 8.672 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002556/0.8821, allocations: 1.11 MB / 0.6543 GB, free: 7.551 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.883, allocations: 87.7 kB / 0.6544 GB, free: 7.469 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006867/0.8899, allocations: 2.311 MB / 0.6567 GB, free: 5.109 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008839/0.8908, allocations: 1.103 MB / 0.6578 GB, free: 3.98 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006259/0.8915, allocations: 115 kB / 0.6579 GB, free: 3.863 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.892, allocations: 395.3 kB / 0.6582 GB, free: 3.477 MB / 474.7 MB Notification: Performance of SimCode: time 1.633e-06/0.892, allocations: 0 / 0.6582 GB, free: 3.477 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05109/0.9431, allocations: 24.11 MB / 0.6818 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.9434, allocations: 194.9 kB / 0.682 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/3.76, allocations: 0 / 0.682 GB, free: 11.19 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat does not exist to compare? outputFormat=mat