Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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.001742/0.001742, allocations: 109 kB / 21.23 MB, free: 0.6719 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.002211/0.002211, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.493/1.493, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2257/0.2257, allocations: 46.94 MB / 361.6 MB, free: 4.168 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.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",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.002346/0.002346, allocations: 79.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3269, allocations: 66.08 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008645/0.3355, allocations: 6.611 MB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00454/0.3401, allocations: 2.282 MB / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005826/0.3407, allocations: 20 kB / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003536/0.3442, allocations: 1.524 MB / 0.5717 GB, free: 9.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.3463, allocations: 0.7177 MB / 0.5724 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.3478, allocations: 0.5987 MB / 0.573 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001632/0.3494, allocations: 1.178 MB / 0.5741 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.3508, allocations: 0.8675 MB / 0.575 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007066/0.3515, allocations: 0.5099 MB / 0.5755 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007913/0.3523, allocations: 0.6147 MB / 0.5761 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.3524, allocations: 111.9 kB / 0.5762 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006106/0.353, allocations: 291.8 kB / 0.5765 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.3532, allocations: 259 kB / 0.5767 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006021/0.3538, allocations: 0.5559 MB / 0.5772 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.3557, allocations: 1.529 MB / 0.5787 GB, free: 2.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3557, allocations: 0 / 0.5787 GB, free: 2.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3557, allocations: 0 / 0.5787 GB, free: 2.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.3557, allocations: 0 / 0.5787 GB, free: 2.543 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004325/0.36, allocations: 1.612 MB / 0.5803 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3601, allocations: 12.03 kB / 0.5803 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000272/0.3604, allocations: 183.9 kB / 0.5805 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008327/0.3687, allocations: 1.124 MB / 0.5816 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.3698, allocations: 484.3 kB / 0.5821 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.928e-05/0.3698, allocations: 90.73 kB / 0.5821 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.3701, allocations: 124.3 kB / 0.5823 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/0.3728, allocations: 1.36 MB / 0.5836 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.3728, allocations: 7.938 kB / 0.5836 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3729, allocations: 52 kB / 0.5837 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.373, allocations: 28 kB / 0.5837 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/0.3761, allocations: 1.44 MB / 0.5851 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007433/0.3835, allocations: 4.046 MB / 0.589 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/0.3864, allocations: 1.015 MB / 0.59 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009166/0.3873, allocations: 394.9 kB / 0.5904 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.3874, allocations: 40.09 kB / 0.5904 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.3875, allocations: 46.5 kB / 0.5905 GB, free: 6.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.865e-06/0.3875, allocations: 4 kB / 0.5905 GB, free: 6.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003266/0.3907, allocations: 1.168 MB / 0.5916 GB, free: 5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001918/0.3909, allocations: 255.3 kB / 0.5919 GB, free: 4.695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007798/0.3917, allocations: 0.5567 MB / 0.5924 GB, free: 4.129 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/0.3918, allocations: 37.7 kB / 0.5925 GB, free: 4.086 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/0.3921, allocations: 484 kB / 0.5929 GB, free: 3.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.3924, allocations: 305.3 kB / 0.5932 GB, free: 3.305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/0.3927, allocations: 202.8 kB / 0.5934 GB, free: 3.098 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.3929, allocations: 374.8 kB / 0.5938 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009556/0.3939, allocations: 386.4 kB / 0.5941 GB, free: 2.348 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.3951, allocations: 0.6564 MB / 0.5948 GB, free: 1.566 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.3973, allocations: 1.062 MB / 0.5958 GB, free: 396 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.3973, allocations: 4 kB / 0.5958 GB, free: 392 kB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002909/0.4002, allocations: 1.197 MB / 0.597 GB, free: 15.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.4002, allocations: 12.06 kB / 0.597 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.4002, allocations: 12 kB / 0.597 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/0.4004, allocations: 40.83 kB / 0.597 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.4016, allocations: 283.6 kB / 0.5973 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.077e-05/0.4016, allocations: 27.92 kB / 0.5973 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009032/0.4025, allocations: 159 kB / 0.5975 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.4026, allocations: 47.98 kB / 0.5975 GB, free: 14.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004561/0.4031, allocations: 249.5 kB / 0.5978 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.4033, allocations: 75.52 kB / 0.5978 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/0.4059, allocations: 1.036 MB / 0.5989 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.4059, allocations: 12 kB / 0.5989 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.4059, allocations: 0 / 0.5989 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.4059, allocations: 7.984 kB / 0.5989 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004469/0.4104, allocations: 2.295 MB / 0.6011 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4104, allocations: 0 / 0.6011 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.4114, allocations: 219.7 kB / 0.6013 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.4116, allocations: 28.78 kB / 0.6014 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.785e-05/0.4116, allocations: 27.98 kB / 0.6014 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.4116, allocations: 4 kB / 0.6014 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4116, allocations: 0 / 0.6014 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003752/0.4154, allocations: 1.842 MB / 0.6032 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.4156, allocations: 83.38 kB / 0.6033 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.4157, allocations: 20 kB / 0.6033 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008016/0.4165, allocations: 71.92 kB / 0.6033 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.4167, allocations: 71.8 kB / 0.6034 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.4168, allocations: 31.98 kB / 0.6034 GB, free: 8.449 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005687/0.4173, allocations: 394.9 kB / 0.6038 GB, free: 8.062 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4173, allocations: 4 kB / 0.6038 GB, free: 8.059 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001172/0.4185, allocations: 303.3 kB / 0.6041 GB, free: 7.762 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_p.reference.gamma,currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma) * 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 (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003947/0.4225, allocations: 2.437 MB / 0.6065 GB, free: 5.293 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.4248, allocations: 0.9005 MB / 0.6074 GB, free: 4.387 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.4248, allocations: 0 / 0.6074 GB, free: 4.387 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.4259, allocations: 447.5 kB / 0.6078 GB, free: 3.949 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.427, allocations: 102.8 kB / 0.6079 GB, free: 3.848 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.4403, allocations: 7.871 MB / 0.6156 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/0.4411, allocations: 0.9841 MB / 0.6165 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006061/0.4417, allocations: 138.2 kB / 0.6167 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006061/0.4423, allocations: 379.2 kB / 0.617 GB, free: 10.11 MB / 462.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4423, allocations: 0 / 0.617 GB, free: 10.11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.051/0.4933, allocations: 18.3 MB / 0.6349 GB, free: 7.93 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.06, allocations: 3.625 kB / 0.6349 GB, free: 7.93 MB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.967398316133767] Failed to read output from testmodel.py, exit status != 0: ['time', 'vC', 'iLL', 'iL', 'vCC'] 12.159356512129307 12.184551518 11.824640408 Calling exit ...