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.001596/0.001596, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001689/0.001689, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 8.195 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.24/0.24, allocations: 46.93 MB / 361.6 MB, free: 4.316 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.001971/0.001971, allocations: 59.91 kB / 0.4974 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3966, allocations: 66.04 MB / 0.5619 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01151/0.4081, allocations: 9.502 MB / 0.5711 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006278/0.4143, allocations: 2.846 MB / 0.5739 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.4159, allocations: 87.56 kB / 0.574 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008604/0.4245, allocations: 3.799 MB / 0.5777 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.4288, allocations: 1.08 MB / 0.5788 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.4311, allocations: 0.811 MB / 0.5796 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006734/0.4378, allocations: 4.863 MB / 0.5843 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01541/0.4533, allocations: 7.773 MB / 0.5919 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005016/0.4583, allocations: 2.856 MB / 0.5947 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005989/0.4643, allocations: 3.154 MB / 0.5978 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002237/0.4665, allocations: 0.7656 MB / 0.5985 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.4698, allocations: 0.9412 MB / 0.5994 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003664/0.4735, allocations: 1.609 MB / 0.601 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006593/0.4801, allocations: 3 MB / 0.6039 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.4941, allocations: 10.5 MB / 0.6142 GB, free: 14.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.4941, allocations: 0 / 0.6142 GB, free: 14.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4941, allocations: 0 / 0.6142 GB, free: 14.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003061/0.4944, allocations: 0 / 0.6142 GB, free: 14.61 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.02146/0.5159, allocations: 6.344 MB / 0.6204 GB, free: 8.203 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.5159, allocations: 12.03 kB / 0.6204 GB, free: 8.191 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02276/0.5387, allocations: 3.926 MB / 0.6242 GB, free: 4.258 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009129/0.5478, allocations: 3.261 MB / 0.6274 GB, free: 0.957 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005367/0.5484, allocations: 394.5 kB / 0.6278 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002478/0.5508, allocations: 0.496 MB / 0.6283 GB, free: 76 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02466/0.5755, allocations: 8.708 MB / 0.6368 GB, free: 7.324 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002483/0.5758, allocations: 7.953 kB / 0.6368 GB, free: 7.316 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/0.5777, allocations: 208 kB / 0.637 GB, free: 7.113 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004901/0.5782, allocations: 343.1 kB / 0.6373 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/0.5975, allocations: 8.035 MB / 0.6452 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05355/0.651, allocations: 25.29 MB / 0.6699 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/0.6629, allocations: 4.618 MB / 0.6744 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/0.666, allocations: 1.483 MB / 0.6758 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.6663, allocations: 81.77 kB / 0.6759 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/0.6664, allocations: 56.56 kB / 0.6759 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 5.46e-06/0.6664, allocations: 0 / 0.6759 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.007119/0.6735, allocations: 3.527 MB / 0.6794 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.6736, allocations: 99.11 kB / 0.6795 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007232/0.6808, allocations: 3.433 MB / 0.6828 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003778/0.6812, allocations: 61.7 kB / 0.6829 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002382/0.6836, allocations: 2.226 MB / 0.6851 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/0.6848, allocations: 0.7825 MB / 0.6858 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002068/0.6868, allocations: 0.7108 MB / 0.6865 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.687, allocations: 301.1 kB / 0.6868 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003139/0.6901, allocations: 1.568 MB / 0.6883 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004548/0.6947, allocations: 3.183 MB / 0.6915 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007586/0.7022, allocations: 5.083 MB / 0.6964 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.824e-05/0.7023, allocations: 16 kB / 0.6964 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01029/0.7126, allocations: 4.96 MB / 0.7013 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.07e-05/0.7127, allocations: 28 kB / 0.7013 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/0.7128, allocations: 56 kB / 0.7014 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001267/0.7129, allocations: 80 kB / 0.7014 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/0.7164, allocations: 0.9128 MB / 0.7023 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001621/0.7166, allocations: 119.6 kB / 0.7024 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/0.7199, allocations: 0.5702 MB / 0.703 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005681/0.7204, allocations: 192 kB / 0.7032 GB, free: 1.188 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.004401/0.7248, allocations: 2.073 MB / 0.7052 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007669/0.7256, allocations: 290 kB / 0.7055 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006688/0.7323, allocations: 3.168 MB / 0.7086 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.7323, allocations: 24 kB / 0.7086 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/0.7323, allocations: 4 kB / 0.7086 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.994e-05/0.7324, allocations: 15.89 kB / 0.7086 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/0.7516, allocations: 8.645 MB / 0.7171 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.347e-05/0.7516, allocations: 16 kB / 0.7171 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/0.754, allocations: 0.5586 MB / 0.7176 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-05/0.754, allocations: 32 kB / 0.7176 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/0.7543, allocations: 83.97 kB / 0.7177 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.796e-05/0.7544, allocations: 35.86 kB / 0.7178 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.891e-05/0.7544, allocations: 27.88 kB / 0.7178 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008643/0.763, allocations: 5.272 MB / 0.7229 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/0.7651, allocations: 0.6458 MB / 0.7236 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007882/0.7659, allocations: 75.94 kB / 0.7236 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/0.7677, allocations: 123.9 kB / 0.7238 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004371/0.7682, allocations: 229.3 kB / 0.724 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/0.7684, allocations: 95.97 kB / 0.7241 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00508/0.7735, allocations: 2.388 MB / 0.7264 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7735, allocations: 0 / 0.7264 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005293/0.7787, allocations: 1.114 MB / 0.7275 GB, free: 7.621 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.0008335/0.7796, allocations: 226.5 kB / 0.7277 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007329/0.7869, allocations: 3.473 MB / 0.7311 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/0.7869, allocations: 0 / 0.7311 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/0.7899, allocations: 1.48 MB / 0.7325 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004163/0.794, allocations: 0.5311 MB / 0.7331 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3166/1.111, allocations: 9.232 MB / 0.7421 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002697/1.113, allocations: 3.53 MB / 0.7455 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.114, allocations: 289.9 kB / 0.7458 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.184e-06/1.114, allocations: 0 / 0.7458 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07167/1.186, allocations: 59.24 MB / 0.8036 GB, free: 94.89 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.482062058988959]