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.001922/0.001922, allocations: 112.9 kB / 21.1 MB, free: 0.7891 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.00229/0.00229, allocations: 206.1 kB / 24.38 MB, free: 4.203 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.517/1.517, allocations: 230.2 MB / 257.7 MB, free: 8.266 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.2454/0.2454, allocations: 46.93 MB / 361.1 MB, free: 4.445 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep")
translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [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.002427/0.002427, allocations: 79.86 kB / 0.4968 GB, free: 7.648 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4014, allocations: 66.05 MB / 0.5613 GB, free: 4.547 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008851/0.4103, allocations: 6.572 MB / 0.5677 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005184/0.4154, allocations: 2.247 MB / 0.5699 GB, free: 11.7 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006125/0.4161, allocations: 20 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003846/0.4199, allocations: 1.532 MB / 0.5714 GB, free: 10.14 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002381/0.4223, allocations: 0.7144 MB / 0.5721 GB, free: 9.422 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.4238, allocations: 0.5987 MB / 0.5727 GB, free: 8.828 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001663/0.4255, allocations: 1.178 MB / 0.5738 GB, free: 7.648 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.4267, allocations: 0.7236 MB / 0.5745 GB, free: 6.902 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007509/0.4274, allocations: 0.506 MB / 0.575 GB, free: 6.395 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007918/0.4282, allocations: 0.6264 MB / 0.5756 GB, free: 5.766 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.4284, allocations: 104 kB / 0.5757 GB, free: 5.664 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006286/0.429, allocations: 287.8 kB / 0.576 GB, free: 5.383 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.4292, allocations: 263 kB / 0.5762 GB, free: 5.125 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005285/0.4297, allocations: 0.5559 MB / 0.5768 GB, free: 4.566 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002017/0.4318, allocations: 1.514 MB / 0.5783 GB, free: 3.047 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4318, allocations: 0 / 0.5783 GB, free: 3.047 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.502e-06/0.4318, allocations: 0 / 0.5783 GB, free: 3.047 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.978e-05/0.4318, allocations: 0 / 0.5783 GB, free: 3.047 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.004514/0.4363, allocations: 1.612 MB / 0.5798 GB, free: 1.398 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4363, allocations: 12.03 kB / 0.5799 GB, free: 1.387 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008967/0.4453, allocations: 1.124 MB / 0.581 GB, free: 268 kB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.4465, allocations: 488.4 kB / 0.5814 GB, free: 15.75 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.019e-05/0.4466, allocations: 86.7 kB / 0.5815 GB, free: 15.67 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.4468, allocations: 120.3 kB / 0.5816 GB, free: 15.55 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002882/0.4497, allocations: 1.352 MB / 0.5829 GB, free: 14.14 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/0.4497, allocations: 7.938 kB / 0.5829 GB, free: 14.14 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.4499, allocations: 48 kB / 0.583 GB, free: 14.09 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.4499, allocations: 28 kB / 0.583 GB, free: 14.06 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/0.453, allocations: 1.429 MB / 0.5844 GB, free: 12.63 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007343/0.4603, allocations: 4.011 MB / 0.5883 GB, free: 8.5 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002995/0.4633, allocations: 1.014 MB / 0.5893 GB, free: 7.438 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0009405/0.4643, allocations: 392.8 kB / 0.5897 GB, free: 7.035 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.4644, allocations: 39.88 kB / 0.5897 GB, free: 6.996 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.4644, allocations: 42.56 kB / 0.5898 GB, free: 6.945 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=84): time 2.926e-06/0.4644, allocations: 4 kB / 0.5898 GB, free: 6.941 MB / 430.1 MB
Notification: Performance of matching and sorting (n=84): time 0.003352/0.4678, allocations: 1.176 MB / 0.5909 GB, free: 5.758 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.468, allocations: 239.3 kB / 0.5912 GB, free: 5.469 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.4687, allocations: 0.5644 MB / 0.5917 GB, free: 4.895 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.4688, allocations: 41.64 kB / 0.5917 GB, free: 4.848 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.4691, allocations: 476.1 kB / 0.5922 GB, free: 4.375 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.4695, allocations: 313.4 kB / 0.5925 GB, free: 4.066 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/0.4698, allocations: 198.8 kB / 0.5927 GB, free: 3.863 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002236/0.47, allocations: 382.7 kB / 0.5931 GB, free: 3.48 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009958/0.471, allocations: 374.4 kB / 0.5934 GB, free: 3.117 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.4723, allocations: 0.6681 MB / 0.5941 GB, free: 2.324 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.4745, allocations: 1.054 MB / 0.5951 GB, free: 1.152 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.4745, allocations: 4 kB / 0.5951 GB, free: 1.148 MB / 430.1 MB
Notification: Performance of matching and sorting (n=130) (initialization): time 0.002802/0.4773, allocations: 1.2 MB / 0.5963 GB, free: 15.93 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4773, allocations: 8 kB / 0.5963 GB, free: 15.93 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.4773, allocations: 8 kB / 0.5963 GB, free: 15.92 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.4775, allocations: 36.84 kB / 0.5963 GB, free: 15.88 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.4788, allocations: 296 kB / 0.5966 GB, free: 15.59 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.668e-05/0.4788, allocations: 19.88 kB / 0.5966 GB, free: 15.57 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009438/0.4797, allocations: 147.1 kB / 0.5968 GB, free: 15.43 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.4798, allocations: 51.97 kB / 0.5968 GB, free: 15.38 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.0004482/0.4803, allocations: 261.5 kB / 0.5971 GB, free: 15.11 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.4805, allocations: 75.56 kB / 0.5971 GB, free: 15.04 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.4831, allocations: 1.032 MB / 0.5981 GB, free: 14 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.4831, allocations: 12 kB / 0.5981 GB, free: 13.98 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4831, allocations: 0 / 0.5981 GB, free: 13.98 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.4831, allocations: 7.984 kB / 0.5982 GB, free: 13.98 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.4878, allocations: 2.278 MB / 0.6004 GB, free: 11.65 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.4878, allocations: 11.94 kB / 0.6004 GB, free: 11.64 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009895/0.4888, allocations: 215.7 kB / 0.6006 GB, free: 11.43 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.4889, allocations: 24.84 kB / 0.6006 GB, free: 11.4 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.489, allocations: 23.98 kB / 0.6006 GB, free: 11.38 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.489, allocations: 7.984 kB / 0.6007 GB, free: 11.37 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.489, allocations: 7.938 kB / 0.6007 GB, free: 11.36 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003489/0.4925, allocations: 1.839 MB / 0.6025 GB, free: 9.496 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.4927, allocations: 87.38 kB / 0.6025 GB, free: 9.41 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.4928, allocations: 23.88 kB / 0.6026 GB, free: 9.387 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008192/0.4936, allocations: 59.94 kB / 0.6026 GB, free: 9.328 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.4938, allocations: 75.86 kB / 0.6027 GB, free: 9.254 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-05/0.4939, allocations: 35.92 kB / 0.6027 GB, free: 9.219 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0005139/0.4944, allocations: 398.8 kB / 0.6031 GB, free: 8.828 MB / 446.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4944, allocations: 0 / 0.6031 GB, free: 8.828 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.001079/0.4955, allocations: 291.4 kB / 0.6034 GB, free: 8.543 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 4 (currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma,currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.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.0002828/0.4957, allocations: 155 kB / 0.6035 GB, free: 8.383 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.002303/0.4981, allocations: 0.9082 MB / 0.6044 GB, free: 7.477 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4981, allocations: 0 / 0.6044 GB, free: 7.477 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001154/0.4992, allocations: 432.9 kB / 0.6048 GB, free: 7.051 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000995/0.5002, allocations: 105.1 kB / 0.6049 GB, free: 6.949 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.5032, allocations: 1.758 MB / 0.6066 GB, free: 5.145 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.5039, allocations: 0.9841 MB / 0.6076 GB, free: 4.133 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0005031/0.5044, allocations: 142.1 kB / 0.6077 GB, free: 3.992 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.5047, allocations: 87.39 kB / 0.6078 GB, free: 3.91 MB / 446.1 MB
Notification: Performance of SimCode: time 5.81e-07/0.5047, allocations: 4 kB / 0.6078 GB, free: 3.906 MB / 446.1 MB
Notification: Performance of Templates: time 0.02034/0.525, allocations: 10.9 MB / 0.6185 GB, free: 9.039 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660]
(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 & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.811901994980872]