Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2475/0.2475, allocations: 46.96 MB / 361.6 MB, free: 4.02 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3729, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01129/0.3842, allocations: 8.246 MB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006644/0.3908, allocations: 2.714 MB / 0.5725 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.3927, allocations: 87.56 kB / 0.5726 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008801/0.4015, allocations: 3.492 MB / 0.576 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004786/0.4063, allocations: 1.088 MB / 0.5771 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.4085, allocations: 0.7688 MB / 0.5778 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00687/0.4154, allocations: 4.86 MB / 0.5826 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01209/0.4275, allocations: 7.772 MB / 0.5902 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004998/0.4325, allocations: 2.856 MB / 0.5929 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006092/0.4386, allocations: 3.158 MB / 0.596 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001819/0.4404, allocations: 0.7656 MB / 0.5968 GB, free: 148 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.4431, allocations: 0.9335 MB / 0.5977 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001774/0.4449, allocations: 1.605 MB / 0.5993 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004015/0.4489, allocations: 2.339 MB / 0.6015 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.4626, allocations: 10.54 MB / 0.6118 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.4626, allocations: 0 / 0.6118 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4626, allocations: 0 / 0.6118 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000273/0.4629, allocations: 4 kB / 0.6118 GB, free: 0.6797 MB / 446.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.02059/0.4835, allocations: 6.34 MB / 0.618 GB, free: 10.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.4835, allocations: 15.97 kB / 0.618 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0232/0.5067, allocations: 3.93 MB / 0.6219 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00839/0.5151, allocations: 3.268 MB / 0.6251 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004583/0.5156, allocations: 386.5 kB / 0.6254 GB, free: 2.637 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002061/0.5176, allocations: 0.4961 MB / 0.6259 GB, free: 2.141 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/0.5385, allocations: 8.708 MB / 0.6344 GB, free: 9.391 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001772/0.5387, allocations: 7.953 kB / 0.6344 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001287/0.54, allocations: 212 kB / 0.6346 GB, free: 9.176 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004299/0.5404, allocations: 343.1 kB / 0.635 GB, free: 8.836 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.5582, allocations: 8.003 MB / 0.6428 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04904/0.6072, allocations: 21.97 MB / 0.6642 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.6189, allocations: 4.555 MB / 0.6687 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/0.6214, allocations: 1.483 MB / 0.6701 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.6216, allocations: 61.94 kB / 0.6702 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.6217, allocations: 60.5 kB / 0.6703 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.498e-06/0.6217, allocations: 0 / 0.6703 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.005813/0.6275, allocations: 3.446 MB / 0.6736 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.6276, allocations: 103.1 kB / 0.6737 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/0.6308, allocations: 1.996 MB / 0.6757 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.6309, allocations: 61.7 kB / 0.6757 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001797/0.6327, allocations: 2.272 MB / 0.6779 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007609/0.6335, allocations: 0.7787 MB / 0.6787 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.6346, allocations: 0.7108 MB / 0.6794 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6347, allocations: 301.1 kB / 0.6797 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002554/0.6373, allocations: 1.564 MB / 0.6812 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003996/0.6413, allocations: 3.191 MB / 0.6843 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007298/0.6486, allocations: 5.072 MB / 0.6893 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-05/0.6487, allocations: 19.94 kB / 0.6893 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008523/0.6572, allocations: 4.891 MB / 0.6941 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.357e-05/0.6573, allocations: 28 kB / 0.6941 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.451e-05/0.6574, allocations: 56 kB / 0.6942 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.6575, allocations: 80.03 kB / 0.6942 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003347/0.6608, allocations: 0.9164 MB / 0.6951 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001152/0.6609, allocations: 111.6 kB / 0.6952 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/0.6634, allocations: 485 kB / 0.6957 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004042/0.6638, allocations: 192 kB / 0.6959 GB, free: 8.352 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.003571/0.6674, allocations: 2.077 MB / 0.6979 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004839/0.6679, allocations: 202.7 kB / 0.6981 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005517/0.6734, allocations: 3.098 MB / 0.7011 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.6734, allocations: 20 kB / 0.7011 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.6734, allocations: 4 kB / 0.7011 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.6734, allocations: 7.969 kB / 0.7012 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.6867, allocations: 7.575 MB / 0.7086 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.308e-05/0.6867, allocations: 20 kB / 0.7086 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/0.6889, allocations: 0.5583 MB / 0.7091 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.245e-05/0.6889, allocations: 28 kB / 0.7091 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.6891, allocations: 83.97 kB / 0.7092 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.944e-05/0.6891, allocations: 35.92 kB / 0.7093 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.947e-05/0.6891, allocations: 27.86 kB / 0.7093 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007282/0.6964, allocations: 5.186 MB / 0.7143 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.6976, allocations: 497.9 kB / 0.7148 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/0.6979, allocations: 71.98 kB / 0.7149 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.699, allocations: 123.9 kB / 0.715 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/0.6994, allocations: 229.2 kB / 0.7152 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.6995, allocations: 95.98 kB / 0.7153 GB, free: 3.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001901/0.7014, allocations: 1.302 MB / 0.7166 GB, free: 2.508 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7014, allocations: 0 / 0.7166 GB, free: 2.508 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003292/0.7047, allocations: 1.199 MB / 0.7178 GB, free: 1.305 MB / 0.545 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.00039/0.7051, allocations: 222.5 kB / 0.718 GB, free: 1.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005566/0.7107, allocations: 3.473 MB / 0.7214 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.7107, allocations: 1.625 kB / 0.7214 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/0.7131, allocations: 1.483 MB / 0.7228 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.7158, allocations: 488.4 kB / 0.7233 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.733, allocations: 9.12 MB / 0.7322 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3509/1.084, allocations: 3.11 MB / 0.7352 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004885/1.089, allocations: 1.369 MB / 0.7366 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007153/1.089, allocations: 228.6 kB / 0.7368 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of SimCode: time 2.084e-06/1.09, allocations: 0 / 0.7368 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.04948/1.139, allocations: 37.22 MB / 0.7731 GB, free: 122.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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: 7.045590432011522]