Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001712/0.001712, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002101/0.002101, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2758/0.2758, allocations: 46.88 MB / 357.4 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 80.19 kB / 0.4912 GB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1587, allocations: 65.98 MB / 0.5556 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01051/0.1692, allocations: 7.782 MB / 0.5632 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005558/0.1748, allocations: 2.439 MB / 0.5656 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.1758, allocations: 31.94 kB / 0.5657 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004258/0.1801, allocations: 1.827 MB / 0.5674 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.1826, allocations: 0.7025 MB / 0.5681 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.1852, allocations: 1.09 MB / 0.5692 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.1875, allocations: 1.409 MB / 0.5706 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.1888, allocations: 0.7704 MB / 0.5713 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000775/0.1895, allocations: 0.6111 MB / 0.5719 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008019/0.1903, allocations: 0.7276 MB / 0.5726 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.1905, allocations: 112 kB / 0.5727 GB, free: 4.859 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007456/0.1912, allocations: 343.7 kB / 0.5731 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.1915, allocations: 294.8 kB / 0.5733 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006094/0.1921, allocations: 0.6608 MB / 0.574 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.1943, allocations: 1.766 MB / 0.5757 GB, free: 1.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1943, allocations: 0 / 0.5757 GB, free: 1.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1943, allocations: 0 / 0.5757 GB, free: 1.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.1943, allocations: 0 / 0.5757 GB, free: 1.797 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007756/0.202, allocations: 2.417 MB / 0.5781 GB, free: 15.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.2021, allocations: 8.031 kB / 0.5781 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000234/0.2023, allocations: 194.7 kB / 0.5783 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009642/0.212, allocations: 1.339 MB / 0.5796 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.2134, allocations: 0.6171 MB / 0.5802 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.2135, allocations: 95.02 kB / 0.5803 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003499/0.2139, allocations: 136.1 kB / 0.5804 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003281/0.2171, allocations: 1.494 MB / 0.5819 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.364e-05/0.2172, allocations: 3.953 kB / 0.5819 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.2173, allocations: 56 kB / 0.5819 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.718e-05/0.2174, allocations: 32 kB / 0.5819 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/0.2204, allocations: 1.521 MB / 0.5834 GB, free: 9.734 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008953/0.2293, allocations: 5.616 MB / 0.5889 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.2319, allocations: 2.042 MB / 0.5909 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.2329, allocations: 0.5499 MB / 0.5914 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.2331, allocations: 195.2 kB / 0.5916 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.2332, allocations: 43.56 kB / 0.5917 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.447e-06/0.2332, allocations: 0 / 0.5917 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.3025/0.5357, allocations: 3.079 MB / 0.5947 GB, free: 34.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.5357, allocations: 91.8 kB / 0.5948 GB, free: 34.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/0.5364, allocations: 465.8 kB / 0.5952 GB, free: 33.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.5365, allocations: 46.39 kB / 0.5953 GB, free: 33.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.5367, allocations: 483.5 kB / 0.5957 GB, free: 33.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.537, allocations: 441 kB / 0.5961 GB, free: 33.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003561/0.5374, allocations: 219.9 kB / 0.5963 GB, free: 33.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5375, allocations: 381.6 kB / 0.5967 GB, free: 33.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009097/0.5384, allocations: 456.5 kB / 0.5971 GB, free: 33.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.5395, allocations: 0.696 MB / 0.5978 GB, free: 32.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.5415, allocations: 1.203 MB / 0.599 GB, free: 32.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.5415, allocations: 2 kB / 0.599 GB, free: 32.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003134/0.5446, allocations: 1.585 MB / 0.6005 GB, free: 31.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.5446, allocations: 8.5 kB / 0.6006 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.5447, allocations: 9.469 kB / 0.6006 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.5463, allocations: 0.5269 MB / 0.6011 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008428/0.5472, allocations: 198.2 kB / 0.6013 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000208/0.5474, allocations: 55.86 kB / 0.6013 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/0.5481, allocations: 122.3 kB / 0.6014 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.5482, allocations: 53.7 kB / 0.6015 GB, free: 31.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005003/0.5487, allocations: 278.6 kB / 0.6018 GB, free: 31.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.549, allocations: 86.83 kB / 0.6018 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/0.5518, allocations: 1.541 MB / 0.6033 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.5519, allocations: 12.66 kB / 0.6034 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5519, allocations: 0 / 0.6034 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.5519, allocations: 8.281 kB / 0.6034 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005184/0.5571, allocations: 2.854 MB / 0.6062 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.5571, allocations: 0 / 0.6062 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/0.5577, allocations: 143.3 kB / 0.6063 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.5592, allocations: 0.5179 MB / 0.6068 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.597e-05/0.5593, allocations: 26.78 kB / 0.6068 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002968/0.5596, allocations: 69.59 kB / 0.6069 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5596, allocations: 1.375 kB / 0.6069 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/0.5636, allocations: 2.314 MB / 0.6091 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/0.5641, allocations: 291.9 kB / 0.6094 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5642, allocations: 25.66 kB / 0.6094 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005569/0.5648, allocations: 43.11 kB / 0.6095 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.565, allocations: 77.17 kB / 0.6096 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.565, allocations: 41.5 kB / 0.6096 GB, free: 27.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003656/0.5654, allocations: 311.1 kB / 0.6099 GB, free: 27.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5654, allocations: 4 kB / 0.6099 GB, free: 27.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001075/0.5665, allocations: 348.3 kB / 0.6102 GB, free: 27.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004381/0.5709, allocations: 2.918 MB / 0.6131 GB, free: 25.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003402/0.5743, allocations: 1.274 MB / 0.6143 GB, free: 24.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5743, allocations: 5.125 kB / 0.6143 GB, free: 24.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.576, allocations: 0.6782 MB / 0.615 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008005/0.5768, allocations: 117.5 kB / 0.6151 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.5893, allocations: 8.379 MB / 0.6233 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.5897, allocations: 1.043 MB / 0.6243 GB, free: 19.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00045/0.5902, allocations: 116 kB / 0.6244 GB, free: 19.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/0.5906, allocations: 393.2 kB / 0.6248 GB, free: 18.85 MB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5906, allocations: 0 / 0.6248 GB, free: 18.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04941/0.64, allocations: 22.11 MB / 0.6464 GB, free: 15.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.83, allocations: 3.375 kB / 0.6464 GB, free: 15.25 MB / 462.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.16734738694504] Failed to read output from testmodel.py, exit status != 0: ['time', 'I.re', 'I.im'] 13.94228814681992 13.967980223 13.768865425 Calling exit ...