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.001402/0.001402, allocations: 109 kB / 21.1 MB, free: 0.7734 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.001588/0.001588, allocations: 225.7 kB / 24.39 MB, free: 4.184 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.501/1.501, allocations: 230.4 MB / 257.9 MB, free: 8.035 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.2518/0.2518, allocations: 46.94 MB / 361.3 MB, free: 4.203 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.002345/0.002345, allocations: 83.86 kB / 0.4966 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3422, allocations: 66.08 MB / 0.5611 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008091/0.3503, allocations: 6.549 MB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.3546, allocations: 2.255 MB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004786/0.3551, allocations: 20 kB / 0.5697 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003326/0.3584, allocations: 1.513 MB / 0.5712 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.3604, allocations: 0.7176 MB / 0.5719 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.3618, allocations: 0.5993 MB / 0.5725 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.3634, allocations: 1.178 MB / 0.5736 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.3648, allocations: 0.8558 MB / 0.5745 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007383/0.3655, allocations: 0.5176 MB / 0.575 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007093/0.3662, allocations: 0.6147 MB / 0.5756 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.3664, allocations: 108 kB / 0.5757 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000618/0.367, allocations: 287.8 kB / 0.576 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.3672, allocations: 263 kB / 0.5762 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005461/0.3678, allocations: 0.5636 MB / 0.5768 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.3697, allocations: 1.533 MB / 0.5783 GB, free: 2.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3697, allocations: 0 / 0.5783 GB, free: 2.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3698, allocations: 0 / 0.5783 GB, free: 2.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.39e-05/0.3698, allocations: 0 / 0.5783 GB, free: 2.648 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.004715/0.3745, allocations: 1.608 MB / 0.5798 GB, free: 1.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.3746, allocations: 12.03 kB / 0.5798 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000306/0.3749, allocations: 187.9 kB / 0.58 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008054/0.3829, allocations: 1.124 MB / 0.5811 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.384, allocations: 484.3 kB / 0.5816 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/0.3841, allocations: 86.73 kB / 0.5817 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.3843, allocations: 120.3 kB / 0.5818 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.387, allocations: 1.468 MB / 0.5832 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.387, allocations: 8 kB / 0.5832 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.3872, allocations: 44 kB / 0.5833 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.3872, allocations: 28 kB / 0.5833 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002807/0.39, allocations: 1.44 MB / 0.5847 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007077/0.3971, allocations: 4.038 MB / 0.5886 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.3997, allocations: 1.003 MB / 0.5896 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008469/0.4006, allocations: 387.3 kB / 0.59 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.4007, allocations: 44.03 kB / 0.59 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.4007, allocations: 46.47 kB / 0.5901 GB, free: 6.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.515e-06/0.4008, allocations: 4 kB / 0.5901 GB, free: 6.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.002962/0.4037, allocations: 1.165 MB / 0.5912 GB, free: 5.016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.4039, allocations: 259.3 kB / 0.5915 GB, free: 4.707 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007178/0.4046, allocations: 0.5528 MB / 0.592 GB, free: 4.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.234e-05/0.4046, allocations: 41.7 kB / 0.592 GB, free: 4.098 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.405, allocations: 480 kB / 0.5925 GB, free: 3.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.4052, allocations: 305.4 kB / 0.5928 GB, free: 3.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.4056, allocations: 194.8 kB / 0.593 GB, free: 3.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4057, allocations: 374.8 kB / 0.5933 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008663/0.4066, allocations: 386.4 kB / 0.5937 GB, free: 2.371 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.4077, allocations: 0.7182 MB / 0.5944 GB, free: 1.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.4098, allocations: 1.062 MB / 0.5954 GB, free: 344 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.4098, allocations: 4 kB / 0.5954 GB, free: 340 kB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002592/0.4124, allocations: 1.193 MB / 0.5966 GB, free: 15.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4124, allocations: 12.03 kB / 0.5966 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.4124, allocations: 12 kB / 0.5966 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/0.4126, allocations: 36.84 kB / 0.5967 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.4137, allocations: 287.5 kB / 0.5969 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.4138, allocations: 15.94 kB / 0.597 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00083/0.4146, allocations: 163 kB / 0.5971 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/0.4147, allocations: 51.97 kB / 0.5972 GB, free: 14.56 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.0004289/0.4151, allocations: 253.5 kB / 0.5974 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.4153, allocations: 71.52 kB / 0.5975 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.4177, allocations: 1.036 MB / 0.5985 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.4177, allocations: 12 kB / 0.5985 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.4177, allocations: 0 / 0.5985 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.4178, allocations: 7.984 kB / 0.5985 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/0.4221, allocations: 2.29 MB / 0.6007 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4221, allocations: 0 / 0.6007 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009314/0.423, allocations: 219.7 kB / 0.6009 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/0.4231, allocations: 28.84 kB / 0.601 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/0.4232, allocations: 27.98 kB / 0.601 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.4232, allocations: 11.98 kB / 0.601 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4232, allocations: 3.938 kB / 0.601 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/0.4265, allocations: 1.842 MB / 0.6028 GB, free: 8.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.4267, allocations: 83.38 kB / 0.6029 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.4268, allocations: 20 kB / 0.6029 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.4276, allocations: 67.92 kB / 0.603 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.4278, allocations: 71.81 kB / 0.603 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.986e-05/0.4278, allocations: 31.98 kB / 0.6031 GB, free: 8.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005254/0.4284, allocations: 394.8 kB / 0.6035 GB, free: 8.016 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4284, allocations: 4 kB / 0.6035 GB, free: 8.012 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001095/0.4295, allocations: 299.3 kB / 0.6037 GB, free: 7.719 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.003908/0.4334, allocations: 2.437 MB / 0.6061 GB, free: 5.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002605/0.436, allocations: 0.9122 MB / 0.607 GB, free: 4.332 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/0.436, allocations: 0 / 0.607 GB, free: 4.332 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.437, allocations: 435.6 kB / 0.6074 GB, free: 3.906 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.4384, allocations: 106.8 kB / 0.6075 GB, free: 3.801 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.4536, allocations: 7.867 MB / 0.6152 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.4544, allocations: 0.9801 MB / 0.6162 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005461/0.4549, allocations: 138.2 kB / 0.6163 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/0.4555, allocations: 371.3 kB / 0.6167 GB, free: 10.07 MB / 462.1 MB Notification: Performance of SimCode: time 1.743e-06/0.4555, allocations: 0 / 0.6167 GB, free: 10.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0581/0.5136, allocations: 18.38 MB / 0.6346 GB, free: 7.836 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.24, allocations: 0 / 0.6346 GB, free: 7.836 MB / 478.1 MB " [Timeout remaining time 647] (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: 16.30012106988579] Failed to read output from testmodel.py, exit status != 0: ['time', 'vC', 'iLL', 'iL', 'vCC'] 13.356970481108874 13.384378299 13.00938082 Calling exit ...