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.001117/0.001117, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001331/0.001331, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 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 0.9337/0.9337, allocations: 177 MB / 205.2 MB, free: 5.074 MB / 186.7 MB " [Timeout remaining time 179] 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.258/0.258, allocations: 34.86 MB / 296.6 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 325.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.766e-06/1.009e-05, allocations: 7.406 kB / 325.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.00653/0.00654, allocations: 8.854 MB / 334.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004182/0.01072, allocations: 2.921 MB / 337.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005511/0.01127, allocations: 87.56 kB / 337.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003393/0.01467, allocations: 4.013 MB / 341.8 MB, free: 7.254 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.01648, allocations: 1.107 MB / 342.9 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009729/0.01745, allocations: 0.785 MB / 343.7 MB, free: 5.355 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003413/0.02086, allocations: 5.056 MB / 348.7 MB, free: 292 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006484/0.02735, allocations: 7.935 MB / 356.7 MB, free: 8.195 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.0308, allocations: 4.259 MB / 360.9 MB, free: 3.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.03318, allocations: 3.178 MB / 364.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005783/0.03376, allocations: 0.7657 MB / 364.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009845/0.03475, allocations: 0.9253 MB / 365.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008563/0.0356, allocations: 1.656 MB / 367.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001593/0.0372, allocations: 2.043 MB / 369.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003453/0.04065, allocations: 5.216 MB / 374.7 MB, free: 6.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.04065, allocations: 0 / 374.7 MB, free: 6.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.04065, allocations: 0 / 374.7 MB, free: 6.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.633e-05/0.0407, allocations: 0 / 374.7 MB, free: 6.117 MB / 346.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.007284/0.04799, allocations: 6.173 MB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.04802, allocations: 12.03 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009964/0.05798, allocations: 3.797 MB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.06007, allocations: 1.625 MB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.06025, allocations: 386.5 kB / 386.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005311/0.06079, allocations: 0.5 MB / 387.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004677/0.06546, allocations: 4.288 MB / 391.5 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-05/0.06553, allocations: 3.953 kB / 391.5 MB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/0.06588, allocations: 212 kB / 391.7 MB, free: 4.988 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002236/0.06611, allocations: 347.1 kB / 392 MB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.06858, allocations: 1.71 MB / 393.7 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/0.08333, allocations: 15.13 MB / 408.9 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.08715, allocations: 2.539 MB / 411.4 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006161/0.08777, allocations: 0.5599 MB / 412 MB, free: 116 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.08787, allocations: 85.86 kB / 412 MB, free: 32 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.08792, allocations: 56.58 kB / 412.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=214): time 3.727e-06/0.08792, allocations: 0 / 412.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=214): time 0.001231/0.08915, allocations: 0.9639 MB / 413.1 MB, free: 15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.0892, allocations: 111 kB / 413.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.09001, allocations: 1.243 MB / 414.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.272e-05/0.09009, allocations: 57.7 kB / 414.5 MB, free: 13.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008024/0.09089, allocations: 2.157 MB / 416.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.09127, allocations: 0.7708 MB / 417.4 MB, free: 10.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005539/0.09182, allocations: 0.6325 MB / 418 MB, free: 9.961 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003126/0.09213, allocations: 301.1 kB / 418.3 MB, free: 9.664 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.09254, allocations: 294.8 kB / 418.6 MB, free: 9.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.09362, allocations: 1.926 MB / 420.5 MB, free: 6.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.09544, allocations: 2.677 MB / 423.2 MB, free: 3.223 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/0.09546, allocations: 16 kB / 423.2 MB, free: 3.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002252/0.09771, allocations: 2.053 MB / 425.3 MB, free: 1.148 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.09774, allocations: 28.22 kB / 425.3 MB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/0.09778, allocations: 60 kB / 425.4 MB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-05/0.09782, allocations: 79.94 kB / 425.5 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.09931, allocations: 0.8423 MB / 426.3 MB, free: 144 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.582e-05/0.09937, allocations: 115.6 kB / 426.4 MB, free: 28 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.1004, allocations: 397.3 kB / 426.8 MB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.1006, allocations: 156 kB / 426.9 MB, free: 15.48 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.0008344/0.1014, allocations: 363.1 kB / 427.3 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.1017, allocations: 179.8 kB / 427.5 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.1031, allocations: 1.318 MB / 428.8 MB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.1031, allocations: 23.75 kB / 428.8 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1031, allocations: 4 kB / 428.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.1031, allocations: 11.95 kB / 428.8 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00487/0.108, allocations: 4.965 MB / 433.8 MB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.108, allocations: 16.22 kB / 433.8 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009752/0.109, allocations: 0.5148 MB / 434.3 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-05/0.109, allocations: 31.94 kB / 434.4 MB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.73e-05/0.1091, allocations: 67.98 kB / 434.4 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.018e-05/0.1091, allocations: 39.86 kB / 434.5 MB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.1091, allocations: 23.94 kB / 434.5 MB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.111, allocations: 2.255 MB / 436.7 MB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.1114, allocations: 341.8 kB / 437.1 MB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.1115, allocations: 72.02 kB / 437.1 MB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004697/0.112, allocations: 68 kB / 437.2 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.1122, allocations: 221.2 kB / 437.4 MB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.192e-05/0.1123, allocations: 75.97 kB / 437.5 MB, free: 4.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005667/0.1128, allocations: 0.5257 MB / 438 MB, free: 3.762 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1128, allocations: 0 / 438 MB, free: 3.762 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002005/0.1148, allocations: 1.199 MB / 439.2 MB, free: 2.559 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.0002765/0.1151, allocations: 207.6 kB / 439.4 MB, free: 2.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.1169, allocations: 1.526 MB / 441 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.308e-05/0.117, allocations: 35.84 kB / 441 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007772/0.1178, allocations: 0.6617 MB / 441.7 MB, free: 124 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.1196, allocations: 0.5002 MB / 442.2 MB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008933/0.1286, allocations: 7.388 MB / 449.5 MB, free: 7.969 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.1297, allocations: 1.032 MB / 450.6 MB, free: 6.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00113/0.1308, allocations: 408.8 kB / 451 MB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.1319, allocations: 0.5089 MB / 451.5 MB, free: 5.996 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1319, allocations: 0 / 451.5 MB, free: 5.996 MB / 426.7 MB Notification: Performance of Templates: time 0.1665/0.2984, allocations: 33.31 MB / 484.8 MB, free: 100.4 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.694722950924188]