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.001501/0.001501, allocations: 107.1 kB / 20.44 MB, free: 1.184 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.002212/0.002212, allocations: 206.1 kB / 23.73 MB, free: 4.395 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2383/0.2383, allocations: 46.95 MB / 360.9 MB, free: 4.047 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.002622/0.002622, allocations: 71.89 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3959, allocations: 66.03 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01099/0.4068, allocations: 8.249 MB / 0.5691 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005835/0.4127, allocations: 2.722 MB / 0.5718 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.4139, allocations: 87.56 kB / 0.5719 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00854/0.4225, allocations: 3.496 MB / 0.5753 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.4268, allocations: 1.076 MB / 0.5763 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.4289, allocations: 0.7748 MB / 0.5771 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006165/0.435, allocations: 4.867 MB / 0.5818 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01145/0.4465, allocations: 7.772 MB / 0.5894 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005009/0.4515, allocations: 2.849 MB / 0.5922 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005767/0.4572, allocations: 3.154 MB / 0.5953 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00181/0.4591, allocations: 0.7656 MB / 0.596 GB, free: 152 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.4614, allocations: 0.9334 MB / 0.5969 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.463, allocations: 1.609 MB / 0.5985 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003616/0.4666, allocations: 2.342 MB / 0.6008 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.4785, allocations: 10.53 MB / 0.6111 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4785, allocations: 0 / 0.6111 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4785, allocations: 3.938 kB / 0.6111 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000242/0.4788, allocations: 0 / 0.6111 GB, free: 0.6836 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.0183/0.4971, allocations: 6.351 MB / 0.6173 GB, free: 10.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.4971, allocations: 8.031 kB / 0.6173 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02202/0.5191, allocations: 3.93 MB / 0.6211 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009786/0.5289, allocations: 3.261 MB / 0.6243 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004119/0.5293, allocations: 390.5 kB / 0.6247 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001854/0.5312, allocations: 0.4999 MB / 0.6252 GB, free: 2.141 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01907/0.5503, allocations: 8.7 MB / 0.6337 GB, free: 9.398 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001295/0.5504, allocations: 11.89 kB / 0.6337 GB, free: 9.387 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005959/0.551, allocations: 208 kB / 0.6339 GB, free: 9.184 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003984/0.5514, allocations: 347.1 kB / 0.6342 GB, free: 8.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.5663, allocations: 8 MB / 0.642 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04291/0.6092, allocations: 21.98 MB / 0.6635 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.6205, allocations: 4.554 MB / 0.668 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002669/0.6231, allocations: 1.483 MB / 0.6694 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.6233, allocations: 57.94 kB / 0.6695 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/0.6234, allocations: 68.44 kB / 0.6695 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.368e-06/0.6234, allocations: 4 kB / 0.6695 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.005816/0.6292, allocations: 3.446 MB / 0.6729 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.6293, allocations: 103.1 kB / 0.673 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/0.6321, allocations: 1.992 MB / 0.6749 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.6323, allocations: 53.7 kB / 0.675 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001643/0.6339, allocations: 2.272 MB / 0.6772 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000778/0.6347, allocations: 0.7826 MB / 0.678 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.6359, allocations: 0.7069 MB / 0.6787 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.636, allocations: 305.1 kB / 0.6789 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002683/0.6387, allocations: 1.568 MB / 0.6805 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00385/0.6426, allocations: 3.183 MB / 0.6836 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006853/0.6494, allocations: 5.083 MB / 0.6886 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.755e-05/0.6495, allocations: 16 kB / 0.6886 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.009355/0.6588, allocations: 4.882 MB / 0.6933 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/0.6589, allocations: 32 kB / 0.6934 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-05/0.659, allocations: 52 kB / 0.6934 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.353e-05/0.6591, allocations: 80 kB / 0.6935 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/0.6624, allocations: 0.921 MB / 0.6944 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001009/0.6625, allocations: 115.6 kB / 0.6945 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/0.6656, allocations: 477 kB / 0.695 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004287/0.666, allocations: 196 kB / 0.6951 GB, free: 8.348 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.004826/0.6708, allocations: 2.077 MB / 0.6972 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005177/0.6713, allocations: 198.7 kB / 0.6974 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005743/0.6771, allocations: 3.095 MB / 0.7004 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.6771, allocations: 20 kB / 0.7004 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.6771, allocations: 0 / 0.7004 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.6771, allocations: 19.89 kB / 0.7004 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.6914, allocations: 7.575 MB / 0.7078 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-05/0.6914, allocations: 16 kB / 0.7078 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/0.6936, allocations: 0.5656 MB / 0.7084 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.745e-05/0.6936, allocations: 28 kB / 0.7084 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.6938, allocations: 79.97 kB / 0.7085 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.855e-05/0.6938, allocations: 35.88 kB / 0.7085 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.986e-05/0.6938, allocations: 24.16 kB / 0.7085 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007484/0.7013, allocations: 5.19 MB / 0.7136 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/0.7027, allocations: 493.8 kB / 0.7141 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/0.703, allocations: 71.92 kB / 0.7142 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.7042, allocations: 127.9 kB / 0.7143 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003549/0.7046, allocations: 229.2 kB / 0.7145 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.7047, allocations: 95.98 kB / 0.7146 GB, free: 3.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00195/0.7067, allocations: 1.298 MB / 0.7159 GB, free: 2.512 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7067, allocations: 0 / 0.7159 GB, free: 2.512 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003745/0.7104, allocations: 1.199 MB / 0.717 GB, free: 1.309 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.0004694/0.7109, allocations: 230.5 kB / 0.7172 GB, free: 1.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006133/0.717, allocations: 3.469 MB / 0.7206 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.207e-05/0.717, allocations: 4 kB / 0.7206 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002606/0.7196, allocations: 1.471 MB / 0.7221 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.7226, allocations: 487.8 kB / 0.7225 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.7405, allocations: 9.12 MB / 0.7314 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3371/1.078, allocations: 3.108 MB / 0.7345 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004353/1.082, allocations: 1.374 MB / 0.7358 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006793/1.083, allocations: 225.5 kB / 0.736 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.104e-06/1.083, allocations: 0 / 0.736 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.05247/1.135, allocations: 37.22 MB / 0.7724 GB, free: 122.5 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/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.065926815383136]