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.001886/0.001886, allocations: 83.59 kB / 20.68 MB, free: 1.035 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.002315/0.002315, allocations: 168.2 kB / 23.96 MB, free: 4.16 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.46/1.46, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.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.218/0.218, allocations: 34.28 MB / 295 MB, free: 14.6 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 1.783e-06/1.783e-06, allocations: 0 / 442.7 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.879e-05, allocations: 5.094 kB / 442.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.2383/0.2383, allocations: 8.231 MB / 450.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005546/0.2438, allocations: 2.732 MB / 453.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009287/0.2448, allocations: 87.34 kB / 453.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007625/0.2524, allocations: 3.702 MB / 457.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.2566, allocations: 1.102 MB / 458.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.2585, allocations: 0.7657 MB / 459.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006034/0.2646, allocations: 5.046 MB / 464.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.2755, allocations: 7.716 MB / 472.1 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008493/0.284, allocations: 4.208 MB / 476.3 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008695/0.2927, allocations: 2.773 MB / 479 MB, free: 0 / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002585/0.2953, allocations: 0.765 MB / 479.8 MB, free: 0 / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.2986, allocations: 0.9275 MB / 480.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001695/0.3003, allocations: 1.636 MB / 482.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003852/0.3041, allocations: 2.01 MB / 484.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.3166, allocations: 10.58 MB / 495 MB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3166, allocations: 0 / 495 MB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3166, allocations: 0 / 495 MB, free: 2.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002414/0.3168, allocations: 0 / 495 MB, free: 2.027 MB / 382.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.01677/0.3336, allocations: 6.289 MB / 0.4895 GB, free: 11.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3336, allocations: 8.031 kB / 0.4895 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02165/0.3553, allocations: 3.903 MB / 0.4933 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007085/0.3624, allocations: 3.261 MB / 0.4965 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/0.3627, allocations: 391 kB / 0.4969 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/0.3637, allocations: 0.5 MB / 0.4974 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/0.3809, allocations: 8.708 MB / 0.5059 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/0.3811, allocations: 7.953 kB / 0.5059 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006805/0.3818, allocations: 216 kB / 0.5061 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003867/0.3821, allocations: 343.1 kB / 0.5064 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01744/0.3996, allocations: 7.998 MB / 0.5142 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04899/0.4486, allocations: 22 MB / 0.5357 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.461, allocations: 4.556 MB / 0.5402 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003326/0.4643, allocations: 1.479 MB / 0.5416 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/0.4646, allocations: 61.94 kB / 0.5417 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.023e-05/0.4647, allocations: 56.56 kB / 0.5417 GB, free: 5.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 5.04e-06/0.4647, allocations: 0 / 0.5417 GB, free: 5.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=214): time 0.007088/0.4718, allocations: 3.457 MB / 0.5451 GB, free: 2.199 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.4719, allocations: 103.1 kB / 0.5452 GB, free: 2.078 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003109/0.475, allocations: 1.988 MB / 0.5471 GB, free: 80 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.4751, allocations: 57.7 kB / 0.5472 GB, free: 16 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001766/0.4769, allocations: 2.265 MB / 0.5494 GB, free: 13.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007524/0.4776, allocations: 0.7593 MB / 0.5501 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/0.4788, allocations: 0.703 MB / 0.5508 GB, free: 12.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4789, allocations: 305.1 kB / 0.5511 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/0.4815, allocations: 1.572 MB / 0.5527 GB, free: 10.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004767/0.4863, allocations: 3.183 MB / 0.5558 GB, free: 6.418 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007662/0.4939, allocations: 5.079 MB / 0.5607 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.267e-05/0.494, allocations: 20 kB / 0.5607 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.009083/0.5031, allocations: 4.879 MB / 0.5655 GB, free: 11.65 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.07e-05/0.5031, allocations: 35.94 kB / 0.5655 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-05/0.5032, allocations: 55.98 kB / 0.5656 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.5033, allocations: 87.88 kB / 0.5657 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/0.5066, allocations: 0.9126 MB / 0.5666 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000105/0.5067, allocations: 115.6 kB / 0.5667 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/0.5093, allocations: 481 kB / 0.5671 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002914/0.5096, allocations: 192 kB / 0.5673 GB, free: 9.785 MB / 478.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.004239/0.5139, allocations: 2.082 MB / 0.5694 GB, free: 7.691 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005667/0.5144, allocations: 194.7 kB / 0.5695 GB, free: 7.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005648/0.5201, allocations: 3.098 MB / 0.5726 GB, free: 4.379 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/0.5201, allocations: 27.88 kB / 0.5726 GB, free: 4.352 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.5201, allocations: 0 / 0.5726 GB, free: 4.352 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/0.5202, allocations: 15.95 kB / 0.5726 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.5358, allocations: 7.556 MB / 0.58 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.577e-05/0.5358, allocations: 19.98 kB / 0.58 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/0.538, allocations: 0.5695 MB / 0.5806 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.67e-05/0.538, allocations: 31.94 kB / 0.5806 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/0.5382, allocations: 75.98 kB / 0.5807 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.793e-05/0.5382, allocations: 43.86 kB / 0.5807 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.316e-05/0.5382, allocations: 23.88 kB / 0.5807 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007902/0.5461, allocations: 5.159 MB / 0.5858 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.5475, allocations: 493.8 kB / 0.5862 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003603/0.5478, allocations: 71.92 kB / 0.5863 GB, free: 5.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.5491, allocations: 119.9 kB / 0.5864 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004092/0.5495, allocations: 225.3 kB / 0.5866 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/0.5497, allocations: 95.97 kB / 0.5867 GB, free: 5.289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00211/0.5518, allocations: 1.298 MB / 0.588 GB, free: 3.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5518, allocations: 0 / 0.588 GB, free: 3.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00427/0.556, allocations: 1.199 MB / 0.5892 GB, free: 2.789 MB / 494.1 MB 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.0005614/0.5566, allocations: 234.5 kB / 0.5894 GB, free: 2.547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006504/0.5631, allocations: 3.478 MB / 0.5928 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.106e-05/0.5631, allocations: 0 / 0.5928 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002566/0.5657, allocations: 1.478 MB / 0.5942 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/0.5687, allocations: 488.5 kB / 0.5947 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/0.5868, allocations: 9.038 MB / 0.6035 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00409/0.5909, allocations: 3.117 MB / 0.6066 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003503/0.5944, allocations: 1.366 MB / 0.6079 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/0.5951, allocations: 228.4 kB / 0.6081 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of SimCode: time 1.824e-06/0.5951, allocations: 0 / 0.6081 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.06403/0.6592, allocations: 30.44 MB / 0.6378 GB, free: 0.9805 MB / 0.5294 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: 6.725310370326042]