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.001332/0.001332, allocations: 107.6 kB / 21.19 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.001485/0.001485, allocations: 213.3 kB / 24.48 MB, free: 3.957 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.541/1.541, allocations: 230.6 MB / 258.2 MB, free: 7.738 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.2318/0.2318, allocations: 46.97 MB / 361.6 MB, free: 4.008 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+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.001961/0.001961, allocations: 59.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4276, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01235/0.44, allocations: 8.239 MB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00706/0.447, allocations: 2.718 MB / 0.5725 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/0.4493, allocations: 87.56 kB / 0.5726 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009324/0.4586, allocations: 3.5 MB / 0.576 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004619/0.4632, allocations: 1.084 MB / 0.5771 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.4656, allocations: 0.7674 MB / 0.5778 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006626/0.4722, allocations: 4.86 MB / 0.5826 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01227/0.4845, allocations: 7.777 MB / 0.5902 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005414/0.4899, allocations: 2.852 MB / 0.5929 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006446/0.4964, allocations: 3.154 MB / 0.596 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002415/0.4988, allocations: 0.7656 MB / 0.5968 GB, free: 132 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/0.5024, allocations: 0.9334 MB / 0.5977 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002834/0.5052, allocations: 1.602 MB / 0.5992 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00517/0.5104, allocations: 2.346 MB / 0.6015 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.5237, allocations: 10.54 MB / 0.6118 GB, free: 0.668 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.5237, allocations: 3.938 kB / 0.6118 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5237, allocations: 0 / 0.6118 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003022/0.524, allocations: 0 / 0.6118 GB, free: 0.6641 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.01963/0.5436, allocations: 6.351 MB / 0.618 GB, free: 10.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.5437, allocations: 8.031 kB / 0.618 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02272/0.5664, allocations: 3.926 MB / 0.6219 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008456/0.5749, allocations: 3.268 MB / 0.6251 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004176/0.5753, allocations: 386.5 kB / 0.6254 GB, free: 2.625 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/0.5773, allocations: 0.4961 MB / 0.6259 GB, free: 2.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01972/0.597, allocations: 8.704 MB / 0.6344 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.5971, allocations: 7.953 kB / 0.6344 GB, free: 9.375 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006554/0.5978, allocations: 212 kB / 0.6346 GB, free: 9.168 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003911/0.5982, allocations: 339.1 kB / 0.635 GB, free: 8.832 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.6142, allocations: 8.011 MB / 0.6428 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04561/0.6598, allocations: 21.97 MB / 0.6642 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.6707, allocations: 4.566 MB / 0.6687 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002738/0.6734, allocations: 1.475 MB / 0.6701 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.6737, allocations: 65.94 kB / 0.6702 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/0.6737, allocations: 60.5 kB / 0.6703 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 7.033e-06/0.6737, allocations: 4 kB / 0.6703 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.005882/0.6796, allocations: 3.442 MB / 0.6736 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.6797, allocations: 103.1 kB / 0.6737 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.6827, allocations: 1.996 MB / 0.6757 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.6829, allocations: 61.7 kB / 0.6757 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.6846, allocations: 2.276 MB / 0.6779 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007889/0.6854, allocations: 0.7787 MB / 0.6787 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/0.6865, allocations: 0.7069 MB / 0.6794 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6866, allocations: 301.1 kB / 0.6797 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002549/0.6891, allocations: 1.564 MB / 0.6812 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003997/0.6931, allocations: 3.191 MB / 0.6843 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007072/0.7002, allocations: 5.083 MB / 0.6893 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.647e-05/0.7003, allocations: 16 kB / 0.6893 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008675/0.7089, allocations: 4.882 MB / 0.6941 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/0.709, allocations: 28 kB / 0.6941 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.635e-05/0.7091, allocations: 56 kB / 0.6942 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.254e-05/0.7092, allocations: 76 kB / 0.6942 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003308/0.7125, allocations: 0.921 MB / 0.6951 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001344/0.7126, allocations: 115.5 kB / 0.6952 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/0.7152, allocations: 476.9 kB / 0.6957 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004074/0.7156, allocations: 196 kB / 0.6959 GB, free: 8.332 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.003643/0.7193, allocations: 2.077 MB / 0.6979 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005187/0.7198, allocations: 198.7 kB / 0.6981 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005812/0.7256, allocations: 3.099 MB / 0.7011 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.389e-05/0.7256, allocations: 20 kB / 0.7011 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/0.7256, allocations: 4 kB / 0.7011 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/0.7257, allocations: 11.95 kB / 0.7012 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.7398, allocations: 7.568 MB / 0.7085 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.77e-05/0.7399, allocations: 16 kB / 0.7086 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/0.7421, allocations: 0.5694 MB / 0.7091 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.68e-05/0.7421, allocations: 35.94 kB / 0.7092 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.7423, allocations: 75.98 kB / 0.7092 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.661e-05/0.7423, allocations: 39.86 kB / 0.7093 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-05/0.7423, allocations: 20.22 kB / 0.7093 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008104/0.7504, allocations: 5.194 MB / 0.7144 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/0.752, allocations: 493.8 kB / 0.7148 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003361/0.7523, allocations: 64 kB / 0.7149 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.7536, allocations: 127.9 kB / 0.715 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/0.7539, allocations: 233.2 kB / 0.7152 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/0.7541, allocations: 95.97 kB / 0.7153 GB, free: 3.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001925/0.756, allocations: 1.298 MB / 0.7166 GB, free: 2.492 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.756, allocations: 0 / 0.7166 GB, free: 2.492 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003924/0.7599, allocations: 1.199 MB / 0.7178 GB, free: 1.289 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.0005022/0.7604, allocations: 222.5 kB / 0.718 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006566/0.767, allocations: 3.481 MB / 0.7214 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.323e-05/0.767, allocations: 0 / 0.7214 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002767/0.7698, allocations: 1.475 MB / 0.7228 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/0.7729, allocations: 491.4 kB / 0.7233 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/0.7912, allocations: 9.004 MB / 0.7321 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.27/1.061, allocations: 3.008 MB / 0.735 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/1.062, allocations: 261.2 kB / 0.7353 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.393e-06/1.062, allocations: 0 / 0.7353 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.07239/1.135, allocations: 56.13 MB / 0.7901 GB, free: 106.2 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 -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: 12.49977389498963]