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.002043/0.002043, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002606/0.002606, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.521/1.521, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3992/0.3992, allocations: 34.26 MB / 295.2 MB, free: 0.6602 MB / 266.7 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 1.934e-06/1.934e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.521e-05/3.714e-05, allocations: 2.312 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01232/0.01236, allocations: 8.264 MB / 385.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007095/0.01945, allocations: 2.737 MB / 388.2 MB, free: 7.863 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.02143, allocations: 87.56 kB / 388.3 MB, free: 7.777 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009629/0.03106, allocations: 3.694 MB / 392 MB, free: 4.066 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004401/0.03546, allocations: 1.103 MB / 393.1 MB, free: 2.957 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.03793, allocations: 0.7707 MB / 393.8 MB, free: 2.188 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00725/0.04518, allocations: 5.037 MB / 398.9 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01389/0.05906, allocations: 7.723 MB / 406.6 MB, free: 5.281 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008675/0.06774, allocations: 4.201 MB / 410.8 MB, free: 1.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007029/0.07477, allocations: 2.768 MB / 413.6 MB, free: 14.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002527/0.0773, allocations: 0.7656 MB / 414.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.08055, allocations: 0.9254 MB / 415.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002333/0.08288, allocations: 1.64 MB / 416.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004463/0.08734, allocations: 2.008 MB / 418.9 MB, free: 8.953 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01458/0.1019, allocations: 10.59 MB / 429.5 MB, free: 14.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1019, allocations: 0 / 429.5 MB, free: 14.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1019, allocations: 0 / 429.5 MB, free: 14.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002875/0.1022, allocations: 0 / 429.5 MB, free: 14.33 MB / 410.7 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.0188/0.121, allocations: 6.289 MB / 435.8 MB, free: 7.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.1211, allocations: 12.03 kB / 435.8 MB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02279/0.1439, allocations: 4.727 MB / 440.5 MB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1964/0.3402, allocations: 3.386 MB / 443.9 MB, free: 93.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005766/0.3408, allocations: 389.5 kB / 444.3 MB, free: 93.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002446/0.3433, allocations: 0.4973 MB / 444.8 MB, free: 93.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01932/0.3626, allocations: 8.709 MB / 453.5 MB, free: 90.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.3627, allocations: 2.875 kB / 453.5 MB, free: 90.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005255/0.3632, allocations: 208.6 kB / 453.7 MB, free: 90 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003158/0.3635, allocations: 346.1 kB / 454 MB, free: 89.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.3777, allocations: 8 MB / 462 MB, free: 87.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04337/0.4211, allocations: 22.58 MB / 484.6 MB, free: 75.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.4331, allocations: 4.557 MB / 489.2 MB, free: 74.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002993/0.4361, allocations: 1.484 MB / 490.7 MB, free: 74.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.4363, allocations: 76.58 kB / 490.7 MB, free: 74.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.257e-05/0.4364, allocations: 65.64 kB / 490.8 MB, free: 74.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 4.328e-06/0.4364, allocations: 0 / 490.8 MB, free: 74.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.00567/0.4421, allocations: 3.518 MB / 494.3 MB, free: 72.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.4421, allocations: 102.7 kB / 494.4 MB, free: 72.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003357/0.4455, allocations: 1.99 MB / 496.4 MB, free: 71.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.4456, allocations: 61.7 kB / 496.5 MB, free: 71.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.4468, allocations: 2.266 MB / 498.7 MB, free: 70.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005863/0.4474, allocations: 0.7647 MB / 499.5 MB, free: 69.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/0.4485, allocations: 0.699 MB / 0.4885 GB, free: 68.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.4485, allocations: 301.1 kB / 0.4888 GB, free: 68.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.4506, allocations: 1.566 MB / 0.4903 GB, free: 67.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00309/0.4537, allocations: 3.191 MB / 0.4934 GB, free: 63.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004955/0.4587, allocations: 5.08 MB / 0.4984 GB, free: 57.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.832e-05/0.4587, allocations: 16 kB / 0.4984 GB, free: 57.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007086/0.4658, allocations: 5.062 MB / 0.5033 GB, free: 52.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.4659, allocations: 28 kB / 0.5034 GB, free: 52.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.101e-05/0.466, allocations: 56 kB / 0.5034 GB, free: 52.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.57e-05/0.466, allocations: 76 kB / 0.5035 GB, free: 52.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/0.4689, allocations: 0.9207 MB / 0.5044 GB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.302e-05/0.469, allocations: 111.6 kB / 0.5045 GB, free: 51.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.4716, allocations: 481 kB / 0.505 GB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003828/0.472, allocations: 192 kB / 0.5051 GB, free: 50.71 MB / 410.7 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.003169/0.4752, allocations: 2.077 MB / 0.5072 GB, free: 48.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006328/0.4758, allocations: 274.6 kB / 0.5074 GB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/0.4805, allocations: 3.083 MB / 0.5104 GB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.4805, allocations: 31.98 kB / 0.5105 GB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.4805, allocations: 0 / 0.5105 GB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/0.4806, allocations: 11.95 kB / 0.5105 GB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.4936, allocations: 7.593 MB / 0.5179 GB, free: 37.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.195e-05/0.4937, allocations: 16 kB / 0.5179 GB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/0.4957, allocations: 0.5617 MB / 0.5185 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.902e-05/0.4957, allocations: 28 kB / 0.5185 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/0.4959, allocations: 75.98 kB / 0.5186 GB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.124e-05/0.496, allocations: 45.31 kB / 0.5186 GB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/0.496, allocations: 23.88 kB / 0.5186 GB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00599/0.502, allocations: 5.241 MB / 0.5237 GB, free: 31.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.5031, allocations: 493.8 kB / 0.5242 GB, free: 30.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/0.5036, allocations: 67.98 kB / 0.5243 GB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.505, allocations: 119.9 kB / 0.5244 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/0.5054, allocations: 233.2 kB / 0.5246 GB, free: 30.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.5055, allocations: 100 kB / 0.5247 GB, free: 30.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002059/0.5076, allocations: 1.298 MB / 0.526 GB, free: 28.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5076, allocations: 0 / 0.526 GB, free: 28.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004233/0.5118, allocations: 1.195 MB / 0.5271 GB, free: 27.61 MB / 410.7 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.0006112/0.5124, allocations: 228.7 kB / 0.5274 GB, free: 27.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005436/0.5179, allocations: 3.478 MB / 0.5308 GB, free: 23.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.824e-05/0.5179, allocations: 4 kB / 0.5308 GB, free: 23.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002184/0.5201, allocations: 1.469 MB / 0.5322 GB, free: 22.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/0.5233, allocations: 0.5089 MB / 0.5327 GB, free: 21.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.538, allocations: 9.164 MB / 0.5416 GB, free: 12.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00389/0.5418, allocations: 3.121 MB / 0.5447 GB, free: 9.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00302/0.5449, allocations: 1.37 MB / 0.546 GB, free: 7.965 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007524/0.5456, allocations: 224.4 kB / 0.5462 GB, free: 7.746 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5456, allocations: 0 / 0.5462 GB, free: 7.746 MB / 410.7 MB Notification: Performance of Templates: time 0.05952/0.6051, allocations: 30.58 MB / 0.5761 GB, free: 9.527 MB / 442.7 MB " [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.723680339986458]