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.001013/0.001013, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001789/0.002802, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009991/0.0009991, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002305, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0892/1.094, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.3025/0.3025, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02423/0.3267, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.7 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.[0-9,]+.|iL.[0-9,]+.",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.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 292.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.397e-05, allocations: 5.328 kB / 292.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.006787/0.006801, allocations: 8.947 MB / 301.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004539/0.01134, allocations: 2.948 MB / 304.5 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/0.01182, allocations: 83.62 kB / 304.6 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.01524, allocations: 3.99 MB / 308.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.01698, allocations: 1.091 MB / 309.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.01786, allocations: 0.7764 MB / 310.4 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003059/0.02092, allocations: 5.088 MB / 315.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006132/0.02705, allocations: 7.712 MB / 323.2 MB, free: 7.445 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/0.03065, allocations: 4.339 MB / 327.6 MB, free: 3.098 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002463/0.03311, allocations: 3.162 MB / 330.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006813/0.03379, allocations: 0.7656 MB / 331.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.03497, allocations: 0.937 MB / 332.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007878/0.03576, allocations: 1.325 MB / 333.8 MB, free: 12.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.03711, allocations: 1.689 MB / 335.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.04076, allocations: 4.935 MB / 340.4 MB, free: 6.258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.57e-05/0.04078, allocations: 4 kB / 340.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.04078, allocations: 0 / 340.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.842e-05/0.04086, allocations: 4 kB / 340.4 MB, free: 6.25 MB / 330.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.007622/0.04848, allocations: 7.244 MB / 347.6 MB, free: 14.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.04851, allocations: 12.62 kB / 347.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009378/0.05789, allocations: 3.805 MB / 351.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.06022, allocations: 1.621 MB / 353.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.0604, allocations: 386.5 kB / 353.5 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006482/0.06104, allocations: 0.5039 MB / 354 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004399/0.06544, allocations: 4.28 MB / 358.2 MB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-05/0.06552, allocations: 7.938 kB / 358.3 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.06585, allocations: 212 kB / 358.5 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/0.06607, allocations: 343.1 kB / 358.8 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.06855, allocations: 1.71 MB / 360.5 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.08285, allocations: 15.23 MB / 375.7 MB, free: 2.184 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003609/0.08646, allocations: 2.554 MB / 378.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000627/0.08709, allocations: 0.55 MB / 378.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.0872, allocations: 73.94 kB / 378.9 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.08724, allocations: 60.56 kB / 379 MB, free: 14.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 5.971e-06/0.08724, allocations: 3.984 kB / 379 MB, free: 14.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=214): time 0.001256/0.0885, allocations: 0.9716 MB / 379.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.08856, allocations: 103.1 kB / 380 MB, free: 13.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009216/0.08948, allocations: 1.239 MB / 381.3 MB, free: 12.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.413e-05/0.08956, allocations: 65.64 kB / 381.3 MB, free: 12.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.09068, allocations: 2.157 MB / 383.5 MB, free: 10.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004214/0.0911, allocations: 0.7591 MB / 384.3 MB, free: 9.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005831/0.09168, allocations: 0.6364 MB / 384.9 MB, free: 8.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.09176, allocations: 305.1 kB / 385.2 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.09216, allocations: 302.7 kB / 385.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.0934, allocations: 1.918 MB / 387.4 MB, free: 5.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.09551, allocations: 2.677 MB / 390.1 MB, free: 2.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.09552, allocations: 16 kB / 390.1 MB, free: 2.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002033/0.09756, allocations: 2.049 MB / 392.2 MB, free: 108 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.09759, allocations: 28 kB / 392.2 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-05/0.09762, allocations: 59.94 kB / 392.2 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.656e-05/0.09768, allocations: 83.97 kB / 392.3 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.09948, allocations: 0.9948 MB / 393.3 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-05/0.09954, allocations: 111.6 kB / 393.4 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.1006, allocations: 397.1 kB / 393.8 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.1007, allocations: 160 kB / 394 MB, free: 14.29 MB / 394.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.0007361/0.1015, allocations: 371 kB / 394.3 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.1017, allocations: 175.8 kB / 394.5 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.1033, allocations: 1.322 MB / 395.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.1033, allocations: 31.94 kB / 395.9 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1033, allocations: 0 / 395.9 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.1033, allocations: 15.95 kB / 395.9 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005435/0.1087, allocations: 4.96 MB / 400.8 MB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.1088, allocations: 16.94 kB / 400.9 MB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.11, allocations: 0.6242 MB / 401.5 MB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.1104, allocations: 341.8 kB / 401.8 MB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.791e-05/0.1104, allocations: 24 kB / 401.8 MB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.861e-05/0.1105, allocations: 71.98 kB / 401.9 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.256e-05/0.1105, allocations: 39.86 kB / 401.9 MB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.516e-05/0.1106, allocations: 23.88 kB / 402 MB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.1128, allocations: 2.259 MB / 404.2 MB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.113, allocations: 67.98 kB / 404.3 MB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004813/0.1134, allocations: 64 kB / 404.4 MB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.1137, allocations: 221.3 kB / 404.6 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.453e-05/0.1137, allocations: 71.98 kB / 404.6 MB, free: 2.984 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004633/0.1142, allocations: 0.5296 MB / 405.2 MB, free: 2.453 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1142, allocations: 0 / 405.2 MB, free: 2.453 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002678/0.1169, allocations: 1.195 MB / 406.4 MB, free: 1.254 MB / 394.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.0003572/0.1172, allocations: 223.5 kB / 406.6 MB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.119, allocations: 1.526 MB / 408.1 MB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.418e-05/0.119, allocations: 52.41 kB / 408.2 MB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006087/0.1197, allocations: 0.6529 MB / 408.8 MB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.1213, allocations: 0.6947 MB / 409.5 MB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/0.1461, allocations: 8.006 MB / 417.5 MB, free: 5.809 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009854/0.1471, allocations: 1.059 MB / 418.6 MB, free: 4.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001094/0.1482, allocations: 404.8 kB / 419 MB, free: 4.324 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008505/0.149, allocations: 0.5167 MB / 419.5 MB, free: 3.809 MB / 410.7 MB Notification: Performance of SimCode: time 2.114e-06/0.149, allocations: 0 / 419.5 MB, free: 3.809 MB / 410.7 MB Notification: Performance of Templates: time 0.2002/0.3492, allocations: 34.33 MB / 453.8 MB, free: 110.2 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 240] 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","",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.793777273967862]