Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.001657/0.001657, allocations: 110.3 kB / 21.1 MB, free: 0.7695 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.001969/0.001969, allocations: 209.1 kB / 24.38 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.507/1.507, allocations: 230.2 MB / 257.7 MB, free: 8.246 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 46.94 MB / 361.1 MB, free: 4.379 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 79.86 kB / 0.4963 GB, free: 8.098 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3436, allocations: 66.04 MB / 0.5608 GB, free: 4.586 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01173/0.3553, allocations: 9.462 MB / 0.57 GB, free: 11.09 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006747/0.362, allocations: 2.838 MB / 0.5728 GB, free: 8.238 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.3636, allocations: 87.56 kB / 0.5729 GB, free: 8.152 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00856/0.3721, allocations: 3.775 MB / 0.5765 GB, free: 4.367 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004005/0.3761, allocations: 1.088 MB / 0.5776 GB, free: 3.277 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.3784, allocations: 0.8025 MB / 0.5784 GB, free: 2.473 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006084/0.3845, allocations: 4.871 MB / 0.5831 GB, free: 13.59 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.01213/0.3967, allocations: 7.364 MB / 0.5903 GB, free: 6.098 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.4009, allocations: 2.856 MB / 0.5931 GB, free: 3.234 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005341/0.4062, allocations: 3.165 MB / 0.5962 GB, free: 60 kB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.002099/0.4083, allocations: 0.7657 MB / 0.597 GB, free: 15.29 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.4115, allocations: 0.9256 MB / 0.5979 GB, free: 14.37 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0025/0.414, allocations: 1.606 MB / 0.5994 GB, free: 12.76 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.005473/0.4195, allocations: 3.012 MB / 0.6024 GB, free: 9.734 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01354/0.433, allocations: 10.49 MB / 0.6126 GB, free: 15.21 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.433, allocations: 0 / 0.6126 GB, free: 15.21 MB / 462.1 MB
Notification: Performance of FrontEnd: time 2.104e-06/0.433, allocations: 0 / 0.6126 GB, free: 15.21 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 0.0002391/0.4332, allocations: 0 / 0.6126 GB, free: 15.21 MB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1440
 * Number of variables: 1440
Notification: Performance of Generate backend data structure: time 0.01714/0.4504, allocations: 6.34 MB / 0.6188 GB, free: 8.816 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.4504, allocations: 12.03 kB / 0.6188 GB, free: 8.805 MB / 462.1 MB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002522/0.453, allocations: 0.8844 MB / 0.6197 GB, free: 7.91 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02215/0.4751, allocations: 3.93 MB / 0.6235 GB, free: 3.973 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008312/0.4834, allocations: 3.268 MB / 0.6267 GB, free: 0.6641 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004677/0.4839, allocations: 398.5 kB / 0.6271 GB, free: 280 kB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.486, allocations: 0.4961 MB / 0.6276 GB, free: 15.77 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/0.5066, allocations: 8.732 MB / 0.6361 GB, free: 7.004 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/0.5068, allocations: 8 kB / 0.6361 GB, free: 6.996 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00134/0.5081, allocations: 208 kB / 0.6363 GB, free: 6.793 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003937/0.5085, allocations: 339.2 kB / 0.6366 GB, free: 6.457 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.5248, allocations: 8.062 MB / 0.6445 GB, free: 14.37 MB / 494.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04844/0.5733, allocations: 25.18 MB / 0.6691 GB, free: 4.645 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.5844, allocations: 4.557 MB / 0.6736 GB, free: 188 kB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002795/0.5872, allocations: 1.475 MB / 0.675 GB, free: 14.7 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.5874, allocations: 77.81 kB / 0.6751 GB, free: 14.62 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.321e-05/0.5875, allocations: 60.56 kB / 0.6751 GB, free: 14.56 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=214): time 4.419e-06/0.5875, allocations: 0 / 0.6751 GB, free: 14.56 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=214): time 0.006667/0.5942, allocations: 3.527 MB / 0.6786 GB, free: 11.03 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.5943, allocations: 99.11 kB / 0.6787 GB, free: 10.91 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006055/0.6003, allocations: 3.43 MB / 0.682 GB, free: 7.461 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.6005, allocations: 65.64 kB / 0.6821 GB, free: 7.391 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001882/0.6024, allocations: 2.23 MB / 0.6843 GB, free: 5.141 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0008025/0.6032, allocations: 0.7865 MB / 0.685 GB, free: 4.348 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.6044, allocations: 0.7069 MB / 0.6857 GB, free: 3.633 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001386/0.6045, allocations: 313.1 kB / 0.686 GB, free: 3.324 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/0.6071, allocations: 1.56 MB / 0.6875 GB, free: 1.762 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003903/0.611, allocations: 3.187 MB / 0.6906 GB, free: 13.8 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006708/0.6177, allocations: 5.083 MB / 0.6956 GB, free: 7.945 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.013e-05/0.6178, allocations: 16 kB / 0.6956 GB, free: 7.93 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=442) (initialization): time 0.008938/0.6267, allocations: 4.953 MB / 0.7005 GB, free: 2.969 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/0.6268, allocations: 28 kB / 0.7005 GB, free: 2.941 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001008/0.6269, allocations: 56 kB / 0.7005 GB, free: 2.887 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.627, allocations: 76 kB / 0.7006 GB, free: 2.812 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/0.6302, allocations: 0.9203 MB / 0.7015 GB, free: 1.891 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001319/0.6303, allocations: 115.9 kB / 0.7016 GB, free: 1.777 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/0.6332, allocations: 0.5741 MB / 0.7022 GB, free: 1.199 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004015/0.6336, allocations: 188 kB / 0.7024 GB, free: 1.016 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 252
 * 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 (442):
 * Single equations (assignments): 442
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.003711/0.6373, allocations: 2.086 MB / 0.7044 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006073/0.6379, allocations: 286.2 kB / 0.7047 GB, free: 14.64 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005931/0.6438, allocations: 3.172 MB / 0.7078 GB, free: 11.44 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.6439, allocations: 24 kB / 0.7078 GB, free: 11.41 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.6439, allocations: 7.938 kB / 0.7078 GB, free: 11.41 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-05/0.6439, allocations: 11.95 kB / 0.7078 GB, free: 11.39 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/0.6609, allocations: 8.637 MB / 0.7162 GB, free: 2.477 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.105e-05/0.6609, allocations: 19.94 kB / 0.7163 GB, free: 2.457 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/0.663, allocations: 0.5663 MB / 0.7168 GB, free: 1.891 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.113e-05/0.6631, allocations: 32 kB / 0.7169 GB, free: 1.859 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/0.6632, allocations: 75.98 kB / 0.7169 GB, free: 1.785 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-05/0.6633, allocations: 43.8 kB / 0.717 GB, free: 1.742 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.21e-05/0.6633, allocations: 27.86 kB / 0.717 GB, free: 1.715 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007594/0.6709, allocations: 5.268 MB / 0.7221 GB, free: 12.12 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001776/0.6727, allocations: 0.6496 MB / 0.7228 GB, free: 11.46 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005647/0.6732, allocations: 67.98 kB / 0.7228 GB, free: 11.4 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.6747, allocations: 127.8 kB / 0.723 GB, free: 11.27 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/0.6751, allocations: 225.3 kB / 0.7232 GB, free: 11.05 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/0.6753, allocations: 95.97 kB / 0.7233 GB, free: 10.96 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.004223/0.6795, allocations: 2.392 MB / 0.7256 GB, free: 8.555 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.6795, allocations: 0 / 0.7256 GB, free: 8.555 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.004042/0.6835, allocations: 1.114 MB / 0.7267 GB, free: 7.434 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 73
 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.plug_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 (275):
 * Single equations (assignments): 275
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.009651/0.6932, allocations: 5.936 MB / 0.7325 GB, free: 1.156 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.2777/0.9709, allocations: 3.476 MB / 0.7359 GB, free: 156 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 1.884e-05/0.9709, allocations: 0 / 0.7359 GB, free: 156 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.002305/0.9732, allocations: 1.472 MB / 0.7373 GB, free: 155.6 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/0.976, allocations: 0.5244 MB / 0.7378 GB, free: 155.4 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04554/1.022, allocations: 37.68 MB / 0.7746 GB, free: 122.4 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003936/1.025, allocations: 3.636 MB / 0.7782 GB, free: 118.7 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.002981/1.028, allocations: 1.476 MB / 0.7796 GB, free: 117.2 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001974/1.03, allocations: 1.651 MB / 0.7812 GB, free: 115.6 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.664e-06/1.03, allocations: 0 / 0.7812 GB, free: 115.6 MB / 0.5606 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/1.141, allocations: 78.1 MB / 0.8575 GB, free: 37.66 MB / 0.5606 GB
Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.63, allocations: 0 / 0.8575 GB, free: 37.66 MB / 0.5606 GB
"
[Timeout remaining time 645]
(rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 659]
Reference file matches
[Calling sys.exit(0), Time elapsed: 18.73287757698563]