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.00154/0.001539, allocations: 112.4 kB / 19.12 MB, free: 3.926 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.001408/0.001408, allocations: 209 kB / 22.08 MB, free: 0.9766 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.409/1.409, allocations: 227.5 MB / 252.4 MB, free: 16 kB / 190.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.2384/0.2384, allocations: 46.13 MB / 351.8 MB, free: 14.26 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: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|iL.1.|iL.2.|iL.3.|vC.1.|vC.2.|vC.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|iL.1.|iL.2.|iL.3.|vC.1.|vC.2.|vC.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 81.08 kB / 490.9 MB, free: 28.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1109, allocations: 62.46 MB / 0.5403 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01157/0.1225, allocations: 9.431 MB / 0.5496 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006158/0.1287, allocations: 2.827 MB / 0.5523 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.1305, allocations: 71.81 kB / 0.5524 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008765/0.1394, allocations: 3.751 MB / 0.5561 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004261/0.1436, allocations: 1.06 MB / 0.5571 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.1459, allocations: 0.7737 MB / 0.5578 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006716/0.1526, allocations: 4.84 MB / 0.5626 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0163/0.169, allocations: 11.97 MB / 0.5743 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.1732, allocations: 2.802 MB / 0.577 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005325/0.1786, allocations: 3.111 MB / 0.58 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001952/0.1805, allocations: 0.7656 MB / 0.5808 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/0.1832, allocations: 0.9334 MB / 0.5817 GB, free: 9.789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002145/0.1854, allocations: 1.602 MB / 0.5833 GB, free: 8.184 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004672/0.1901, allocations: 3.012 MB / 0.5862 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.2032, allocations: 10.49 MB / 0.5964 GB, free: 10.63 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.2033, allocations: 4 kB / 0.5965 GB, free: 10.63 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2033, allocations: 0 / 0.5965 GB, free: 10.63 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002808/0.2036, allocations: 0 / 0.5965 GB, free: 10.63 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.01887/0.2225, allocations: 6.411 MB / 0.6027 GB, free: 4.145 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2225, allocations: 11.97 kB / 0.6027 GB, free: 4.133 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02279/0.2453, allocations: 3.934 MB / 0.6066 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2452/0.4906, allocations: 3.227 MB / 0.6097 GB, free: 51.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004047/0.4911, allocations: 388.8 kB / 0.6101 GB, free: 51.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/0.493, allocations: 0.501 MB / 0.6106 GB, free: 51.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/0.5153, allocations: 8.714 MB / 0.6191 GB, free: 48.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001785/0.5155, allocations: 2.984 kB / 0.6191 GB, free: 48.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009419/0.5165, allocations: 210 kB / 0.6193 GB, free: 48.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004248/0.5169, allocations: 343.1 kB / 0.6196 GB, free: 48.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.5337, allocations: 8.042 MB / 0.6275 GB, free: 45.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03456/0.5683, allocations: 27.81 MB / 0.6546 GB, free: 22.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.5786, allocations: 10.2 MB / 0.6646 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/0.5808, allocations: 1.598 MB / 0.6662 GB, free: 9.699 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.5811, allocations: 231.3 kB / 0.6664 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5811, allocations: 56.56 kB / 0.6664 GB, free: 9.387 MB / 462.1 MB Notification: Performance of pre-optimization done (n=214): time 3.807e-06/0.5811, allocations: 0 / 0.6664 GB, free: 9.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=214): time 0.004706/0.5858, allocations: 3.526 MB / 0.6699 GB, free: 5.859 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.5859, allocations: 99.11 kB / 0.67 GB, free: 5.742 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003824/0.5897, allocations: 3.431 MB / 0.6733 GB, free: 2.324 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001818/0.5899, allocations: 65.48 kB / 0.6734 GB, free: 2.258 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.5909, allocations: 2.23 MB / 0.6756 GB, free: 32 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007711/0.5917, allocations: 0.7777 MB / 0.6763 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.5928, allocations: 0.703 MB / 0.677 GB, free: 14.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5929, allocations: 304.9 kB / 0.6773 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002569/0.5955, allocations: 1.568 MB / 0.6788 GB, free: 12.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00383/0.5993, allocations: 3.187 MB / 0.6819 GB, free: 8.738 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006897/0.6062, allocations: 5.086 MB / 0.6869 GB, free: 2.875 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.062e-05/0.6063, allocations: 16 kB / 0.6869 GB, free: 2.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.009061/0.6154, allocations: 4.96 MB / 0.6918 GB, free: 13.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.6155, allocations: 28 kB / 0.6918 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.067e-05/0.6156, allocations: 56 kB / 0.6918 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.862e-05/0.6157, allocations: 76 kB / 0.6919 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/0.6188, allocations: 0.9207 MB / 0.6928 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001273/0.619, allocations: 115.6 kB / 0.6929 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/0.6219, allocations: 0.5702 MB / 0.6935 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003343/0.6222, allocations: 192 kB / 0.6937 GB, free: 11.94 MB / 494.1 MB 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.003585/0.6258, allocations: 2.085 MB / 0.6957 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000591/0.6264, allocations: 278.1 kB / 0.696 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00564/0.632, allocations: 3.173 MB / 0.6991 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.6321, allocations: 24 kB / 0.6991 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.6321, allocations: 0 / 0.6991 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.6321, allocations: 15.89 kB / 0.6991 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/0.6474, allocations: 8.667 MB / 0.7076 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.6474, allocations: 16 kB / 0.7076 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002107/0.6496, allocations: 0.5665 MB / 0.7081 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.869e-05/0.6496, allocations: 24 kB / 0.7082 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.6498, allocations: 75.97 kB / 0.7082 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-05/0.6498, allocations: 43.86 kB / 0.7083 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.995e-05/0.6498, allocations: 31.81 kB / 0.7083 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007585/0.6574, allocations: 5.268 MB / 0.7134 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.6589, allocations: 0.7054 MB / 0.7141 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/0.6594, allocations: 67.98 kB / 0.7142 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.6606, allocations: 123.9 kB / 0.7143 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003413/0.661, allocations: 221.4 kB / 0.7145 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.6611, allocations: 95.98 kB / 0.7146 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003693/0.6648, allocations: 2.388 MB / 0.717 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6649, allocations: 3.75 kB / 0.717 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003806/0.6687, allocations: 1.103 MB / 0.718 GB, free: 2.355 MB / 0.4981 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.0004846/0.6692, allocations: 233.9 kB / 0.7183 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006209/0.6754, allocations: 3.581 MB / 0.7218 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/0.6754, allocations: 1.625 kB / 0.7218 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002729/0.6782, allocations: 1.569 MB / 0.7233 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/0.6815, allocations: 0.5299 MB / 0.7238 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/0.6984, allocations: 9.236 MB / 0.7328 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003855/0.7023, allocations: 3.533 MB / 0.7363 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.7034, allocations: 287.4 kB / 0.7365 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.7034, allocations: 0 / 0.7365 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of Templates: time 0.09104/0.7944, allocations: 57.88 MB / 0.7931 GB, free: 5.262 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480] 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.137881268979982]