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.001336/0.001336, allocations: 109.2 kB / 20.42 MB, free: 1.684 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.001459/0.001459, allocations: 219 kB / 23.72 MB, free: 5.051 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.482/1.482, allocations: 230.2 MB / 257.1 MB, free: 8.484 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.253/0.253, allocations: 46.9 MB / 360.3 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 179] 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.002357/0.002357, allocations: 83.86 kB / 0.4955 GB, free: 8.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3769, allocations: 65.99 MB / 0.56 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009833/0.3867, allocations: 7.798 MB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005148/0.3919, allocations: 2.443 MB / 0.57 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008103/0.3927, allocations: 31.94 kB / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004265/0.3969, allocations: 1.827 MB / 0.5718 GB, free: 8.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.3995, allocations: 0.714 MB / 0.5725 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.402, allocations: 1.086 MB / 0.5736 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001987/0.404, allocations: 1.413 MB / 0.5749 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.4054, allocations: 0.7742 MB / 0.5757 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009462/0.4063, allocations: 0.6073 MB / 0.5763 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008482/0.4072, allocations: 0.7314 MB / 0.577 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.4073, allocations: 112 kB / 0.5771 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007451/0.4081, allocations: 339.8 kB / 0.5774 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.4083, allocations: 294.9 kB / 0.5777 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006094/0.4089, allocations: 0.653 MB / 0.5783 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.4111, allocations: 1.77 MB / 0.5801 GB, free: 268 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4111, allocations: 0 / 0.5801 GB, free: 268 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4111, allocations: 0 / 0.5801 GB, free: 268 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.4111, allocations: 0 / 0.5801 GB, free: 268 kB / 414.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.007867/0.419, allocations: 2.418 MB / 0.5824 GB, free: 13.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.419, allocations: 8.031 kB / 0.5824 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/0.4193, allocations: 198.7 kB / 0.5826 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009748/0.429, allocations: 1.331 MB / 0.5839 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.4306, allocations: 0.621 MB / 0.5845 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.4307, allocations: 103 kB / 0.5846 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/0.431, allocations: 132.1 kB / 0.5848 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002908/0.4339, allocations: 1.491 MB / 0.5862 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/0.4339, allocations: 7.953 kB / 0.5862 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.434, allocations: 56 kB / 0.5863 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.4341, allocations: 32 kB / 0.5863 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/0.4368, allocations: 1.521 MB / 0.5878 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008834/0.4456, allocations: 5.604 MB / 0.5933 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.4482, allocations: 2.061 MB / 0.5953 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.4492, allocations: 0.5421 MB / 0.5958 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.4495, allocations: 195.2 kB / 0.596 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.4495, allocations: 43.56 kB / 0.596 GB, free: 15.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.547e-06/0.4495, allocations: 0 / 0.596 GB, free: 15.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.009293/0.4588, allocations: 3.083 MB / 0.599 GB, free: 12.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.4589, allocations: 98.05 kB / 0.5991 GB, free: 11.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005957/0.4595, allocations: 473.8 kB / 0.5996 GB, free: 11.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.4596, allocations: 45.7 kB / 0.5996 GB, free: 11.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.4599, allocations: 480.9 kB / 0.6001 GB, free: 10.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003854/0.4603, allocations: 444.2 kB / 0.6005 GB, free: 10.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.4607, allocations: 218.8 kB / 0.6007 GB, free: 10.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.4609, allocations: 382.8 kB / 0.6011 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008729/0.4618, allocations: 462.4 kB / 0.6015 GB, free: 9.414 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.4629, allocations: 0.6958 MB / 0.6022 GB, free: 8.625 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.4649, allocations: 1.194 MB / 0.6034 GB, free: 7.344 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.4649, allocations: 4 kB / 0.6034 GB, free: 7.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003124/0.468, allocations: 1.578 MB / 0.6049 GB, free: 5.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.4681, allocations: 8 kB / 0.6049 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.4681, allocations: 8 kB / 0.6049 GB, free: 5.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.4697, allocations: 0.5243 MB / 0.6055 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/0.4706, allocations: 199.7 kB / 0.6056 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002174/0.4708, allocations: 61.14 kB / 0.6057 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.4715, allocations: 123.1 kB / 0.6058 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.485e-05/0.4716, allocations: 55.98 kB / 0.6059 GB, free: 4.773 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.0004738/0.4721, allocations: 265.5 kB / 0.6061 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.4723, allocations: 83.48 kB / 0.6062 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.4752, allocations: 1.544 MB / 0.6077 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.4753, allocations: 15.94 kB / 0.6077 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4753, allocations: 4 kB / 0.6077 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.4753, allocations: 3.984 kB / 0.6077 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004856/0.4801, allocations: 2.848 MB / 0.6105 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.4802, allocations: 0 / 0.6105 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/0.4808, allocations: 147.8 kB / 0.6107 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.4824, allocations: 0.5184 MB / 0.6112 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-05/0.4825, allocations: 24 kB / 0.6112 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003111/0.4828, allocations: 68.73 kB / 0.6113 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4828, allocations: 3.984 kB / 0.6113 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/0.4869, allocations: 2.318 MB / 0.6135 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005593/0.4875, allocations: 288.2 kB / 0.6138 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.4876, allocations: 28 kB / 0.6138 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/0.4882, allocations: 51.97 kB / 0.6139 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.4884, allocations: 73.2 kB / 0.6139 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.632e-05/0.4885, allocations: 40 kB / 0.614 GB, free: 12.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000385/0.4889, allocations: 306.9 kB / 0.6143 GB, free: 12.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4889, allocations: 4 kB / 0.6143 GB, free: 12.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001026/0.4899, allocations: 355.2 kB / 0.6146 GB, free: 11.68 MB / 462.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.005049/0.495, allocations: 2.916 MB / 0.6175 GB, free: 8.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003865/0.4988, allocations: 1.277 MB / 0.6187 GB, free: 7.457 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.4988, allocations: 0 / 0.6187 GB, free: 7.457 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.5006, allocations: 0.6846 MB / 0.6194 GB, free: 6.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009562/0.5016, allocations: 101.9 kB / 0.6195 GB, free: 6.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.5155, allocations: 8.384 MB / 0.6277 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007641/0.5163, allocations: 1.036 MB / 0.6287 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004511/0.5168, allocations: 114.8 kB / 0.6288 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/0.5173, allocations: 391.3 kB / 0.6292 GB, free: 12.43 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5173, allocations: 0 / 0.6292 GB, free: 12.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06231/0.5796, allocations: 22.45 MB / 0.6511 GB, free: 6.133 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.92, allocations: 3.094 kB / 0.6511 GB, free: 6.133 MB / 494.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: 16.96322026802227] Failed to read output from testmodel.py, exit status != 0: ['time', 'I.re', 'I.im'] 14.02565281232819 14.049916657 13.634256138 Calling exit ...