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.001298/0.001298, allocations: 92.67 kB / 20.69 MB, free: 1.02 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.001463/0.001463, allocations: 161.8 kB / 23.95 MB, free: 4.148 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.488/1.488, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 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.2726/0.2726, allocations: 34.26 MB / 294.8 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 179] 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|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 442.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.491e-05/3.734e-05, allocations: 4.672 kB / 442.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.2324/0.2325, allocations: 8.238 MB / 450.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00685/0.2393, allocations: 2.729 MB / 453.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.2408, allocations: 86.69 kB / 453.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008632/0.2495, allocations: 3.699 MB / 457.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004667/0.2541, allocations: 1.108 MB / 458.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.2562, allocations: 0.7566 MB / 459.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006099/0.2623, allocations: 5.048 MB / 464.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/0.2727, allocations: 7.717 MB / 472 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007108/0.2798, allocations: 4.203 MB / 476.2 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004629/0.2845, allocations: 2.773 MB / 479 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.2859, allocations: 0.7692 MB / 479.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.288, allocations: 0.932 MB / 480.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.2898, allocations: 1.629 MB / 482.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003938/0.2938, allocations: 2.016 MB / 484.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.3089, allocations: 10.58 MB / 494.9 MB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3089, allocations: 4 kB / 494.9 MB, free: 1.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3089, allocations: 3.938 kB / 494.9 MB, free: 1.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002986/0.3092, allocations: 1.781 kB / 494.9 MB, free: 1.836 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.01889/0.3281, allocations: 6.285 MB / 0.4895 GB, free: 11.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.3281, allocations: 8.031 kB / 0.4895 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02354/0.3517, allocations: 3.907 MB / 0.4933 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007065/0.3587, allocations: 3.257 MB / 0.4965 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003778/0.3591, allocations: 390.4 kB / 0.4969 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.3604, allocations: 0.5 MB / 0.4973 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.3771, allocations: 8.711 MB / 0.5058 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.3772, allocations: 3.953 kB / 0.5058 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006428/0.3779, allocations: 220 kB / 0.5061 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004097/0.3783, allocations: 343.1 kB / 0.5064 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01789/0.3962, allocations: 8.003 MB / 0.5142 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04288/0.4391, allocations: 21.99 MB / 0.5357 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/0.4513, allocations: 4.551 MB / 0.5401 GB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0029/0.4542, allocations: 1.483 MB / 0.5416 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.4545, allocations: 69.88 kB / 0.5416 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.065e-05/0.4545, allocations: 52.56 kB / 0.5417 GB, free: 5.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 4.789e-06/0.4545, allocations: 0 / 0.5417 GB, free: 5.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=214): time 0.006281/0.4608, allocations: 3.457 MB / 0.5451 GB, free: 2.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.4609, allocations: 103.1 kB / 0.5452 GB, free: 1.891 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/0.4641, allocations: 1.988 MB / 0.5471 GB, free: 15.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.4643, allocations: 61.7 kB / 0.5472 GB, free: 15.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/0.4661, allocations: 2.261 MB / 0.5494 GB, free: 13.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008042/0.4669, allocations: 0.7593 MB / 0.5501 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/0.4681, allocations: 0.703 MB / 0.5508 GB, free: 12.06 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4682, allocations: 305.1 kB / 0.5511 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002888/0.4711, allocations: 1.568 MB / 0.5526 GB, free: 10.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004159/0.4753, allocations: 3.191 MB / 0.5557 GB, free: 6.227 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007399/0.4827, allocations: 5.079 MB / 0.5607 GB, free: 376 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.427e-05/0.4827, allocations: 16 kB / 0.5607 GB, free: 360 kB / 462.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008989/0.4917, allocations: 4.879 MB / 0.5655 GB, free: 11.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.4918, allocations: 32 kB / 0.5655 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.411e-05/0.4918, allocations: 56.12 kB / 0.5656 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.3e-05/0.4919, allocations: 83.94 kB / 0.5656 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003357/0.4953, allocations: 0.9166 MB / 0.5665 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001071/0.4954, allocations: 111.6 kB / 0.5666 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.4979, allocations: 481 kB / 0.5671 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003177/0.4982, allocations: 196 kB / 0.5673 GB, free: 9.605 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.003508/0.5017, allocations: 2.077 MB / 0.5693 GB, free: 7.516 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.5021, allocations: 198.7 kB / 0.5695 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005787/0.5079, allocations: 3.102 MB / 0.5725 GB, free: 4.191 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.5079, allocations: 23.94 kB / 0.5726 GB, free: 4.168 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.5079, allocations: 4 kB / 0.5726 GB, free: 4.164 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/0.508, allocations: 11.95 kB / 0.5726 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.5219, allocations: 7.56 MB / 0.58 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-05/0.5219, allocations: 16 kB / 0.58 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/0.5242, allocations: 0.5663 MB / 0.5805 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.502e-05/0.5243, allocations: 35.94 kB / 0.5806 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.5244, allocations: 75.92 kB / 0.5806 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.739e-05/0.5245, allocations: 35.92 kB / 0.5807 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.922e-05/0.5245, allocations: 23.88 kB / 0.5807 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007942/0.5324, allocations: 5.162 MB / 0.5857 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/0.5337, allocations: 493.8 kB / 0.5862 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.5341, allocations: 71.92 kB / 0.5863 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.5353, allocations: 123.9 kB / 0.5864 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004059/0.5357, allocations: 225.3 kB / 0.5866 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/0.5359, allocations: 99.91 kB / 0.5867 GB, free: 5.102 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00216/0.5381, allocations: 1.302 MB / 0.588 GB, free: 3.801 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5381, allocations: 0 / 0.588 GB, free: 3.801 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004007/0.5421, allocations: 1.199 MB / 0.5891 GB, free: 2.598 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.0005905/0.5427, allocations: 222.5 kB / 0.5894 GB, free: 2.371 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006661/0.5493, allocations: 3.478 MB / 0.5927 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-05/0.5494, allocations: 0 / 0.5927 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002744/0.5521, allocations: 1.483 MB / 0.5942 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/0.5551, allocations: 488.1 kB / 0.5947 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.5704, allocations: 9.049 MB / 0.6035 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004032/0.5744, allocations: 3.113 MB / 0.6065 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003396/0.5778, allocations: 1.366 MB / 0.6079 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006927/0.5785, allocations: 236.3 kB / 0.6081 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of SimCode: time 9.41e-07/0.5785, allocations: 0 / 0.6081 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.05874/0.6372, allocations: 30.44 MB / 0.6378 GB, free: 0.7422 MB / 0.5294 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/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_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: 6.70760852470994]