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.001166/0.001166, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001165/0.001165, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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.014/1.014, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.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.265/0.265, allocations: 34.25 MB / 295.7 MB, free: 0.7383 MB / 266.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.553e-06/1.553e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.386e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.007024/0.007048, allocations: 9.159 MB / 387.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004254/0.0113, allocations: 2.784 MB / 390 MB, free: 6.668 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007827/0.01208, allocations: 87.56 kB / 390.1 MB, free: 6.582 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00386/0.01594, allocations: 4.006 MB / 394.1 MB, free: 2.559 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.01788, allocations: 1.111 MB / 395.2 MB, free: 1.441 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009921/0.01888, allocations: 0.7774 MB / 396 MB, free: 0.668 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003793/0.02267, allocations: 5.052 MB / 401 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007234/0.0299, allocations: 7.719 MB / 408.7 MB, free: 3.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004038/0.03394, allocations: 4.232 MB / 413 MB, free: 15.51 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.0367, allocations: 3.131 MB / 416.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007609/0.03746, allocations: 0.7656 MB / 416.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.03854, allocations: 0.9292 MB / 417.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009164/0.03946, allocations: 1.66 MB / 419.4 MB, free: 9.016 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.04115, allocations: 2.039 MB / 421.5 MB, free: 6.973 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003946/0.0451, allocations: 5.208 MB / 426.7 MB, free: 1.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.0451, allocations: 4 kB / 426.7 MB, free: 1.746 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.04511, allocations: 0 / 426.7 MB, free: 1.746 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.707e-05/0.04518, allocations: 0 / 426.7 MB, free: 1.746 MB / 394.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.008326/0.05351, allocations: 6.843 MB / 433.5 MB, free: 10.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.05355, allocations: 8.031 kB / 433.5 MB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.06473, allocations: 4.73 MB / 438.3 MB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/0.0689, allocations: 3.01 MB / 441.3 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.06912, allocations: 390.5 kB / 441.7 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006587/0.06978, allocations: 0.4999 MB / 442.2 MB, free: 2.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1745/0.2443, allocations: 4.558 MB / 446.7 MB, free: 79.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.2444, allocations: 2.812 kB / 446.7 MB, free: 79.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000391/0.2448, allocations: 211.1 kB / 446.9 MB, free: 79.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002953/0.2451, allocations: 340.7 kB / 447.3 MB, free: 79.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005269/0.2504, allocations: 2.537 MB / 449.8 MB, free: 79.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01893/0.2693, allocations: 19.85 MB / 469.6 MB, free: 70.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005397/0.2747, allocations: 3.972 MB / 473.6 MB, free: 69.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009011/0.2756, allocations: 0.7094 MB / 474.3 MB, free: 69.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.2757, allocations: 76.39 kB / 474.4 MB, free: 69.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.2758, allocations: 71.89 kB / 474.5 MB, free: 69.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 4.588e-06/0.2758, allocations: 0 / 474.5 MB, free: 69.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.002348/0.2781, allocations: 1.52 MB / 476 MB, free: 69.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.2782, allocations: 98.83 kB / 476.1 MB, free: 68.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.2803, allocations: 1.882 MB / 478 MB, free: 68.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.461e-05/0.2804, allocations: 56.83 kB / 478 MB, free: 68.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.2816, allocations: 2.437 MB / 480.5 MB, free: 66.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.282, allocations: 0.7955 MB / 481.3 MB, free: 65.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008279/0.2828, allocations: 0.7998 MB / 482.1 MB, free: 65.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.2829, allocations: 479.2 kB / 482.5 MB, free: 65.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009875/0.2839, allocations: 425.9 kB / 482.9 MB, free: 65.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/0.2858, allocations: 2.862 MB / 485.8 MB, free: 61.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.2888, allocations: 3.643 MB / 489.4 MB, free: 58.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.464e-05/0.2888, allocations: 16.38 kB / 489.5 MB, free: 58.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00386/0.2927, allocations: 2.776 MB / 492.2 MB, free: 57.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.2928, allocations: 28.66 kB / 492.3 MB, free: 57.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.481e-05/0.2928, allocations: 55.19 kB / 492.3 MB, free: 57.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/0.2929, allocations: 78.12 kB / 492.4 MB, free: 57.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/0.295, allocations: 0.9174 MB / 493.3 MB, free: 57.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.993e-05/0.2951, allocations: 108.6 kB / 493.4 MB, free: 57.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.2963, allocations: 475.8 kB / 493.9 MB, free: 57.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.2965, allocations: 193.7 kB / 494.1 MB, free: 57.34 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.0009194/0.2974, allocations: 419.6 kB / 494.5 MB, free: 57.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.2977, allocations: 273.4 kB / 494.8 MB, free: 56.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.2999, allocations: 1.791 MB / 496.5 MB, free: 56.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.2999, allocations: 25.94 kB / 496.6 MB, free: 56.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2999, allocations: 3.094 kB / 496.6 MB, free: 56.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.2999, allocations: 15.34 kB / 496.6 MB, free: 56.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00715/0.3071, allocations: 6.696 MB / 0.4915 GB, free: 52.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.3071, allocations: 17.5 kB / 0.4915 GB, free: 52.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.3082, allocations: 0.5552 MB / 0.492 GB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-05/0.3082, allocations: 30.25 kB / 0.4921 GB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.3083, allocations: 77.67 kB / 0.4922 GB, free: 52.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-05/0.3084, allocations: 40.12 kB / 0.4922 GB, free: 52.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/0.3084, allocations: 27.77 kB / 0.4922 GB, free: 52.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.3112, allocations: 3.012 MB / 0.4952 GB, free: 50.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.3117, allocations: 452.9 kB / 0.4956 GB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.3118, allocations: 73.94 kB / 0.4957 GB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/0.3124, allocations: 114.3 kB / 0.4958 GB, free: 50.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.3127, allocations: 227.3 kB / 0.496 GB, free: 50.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.824e-05/0.3128, allocations: 103.9 kB / 0.4961 GB, free: 50.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008406/0.3136, allocations: 0.8348 MB / 0.4969 GB, free: 50.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3136, allocations: 0 / 0.4969 GB, free: 50.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002069/0.3157, allocations: 1.193 MB / 0.4981 GB, free: 49.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.0003698/0.316, allocations: 228.9 kB / 0.4983 GB, free: 49.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002295/0.3183, allocations: 1.916 MB / 0.5002 GB, free: 47.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.3183, allocations: 4 kB / 0.5002 GB, free: 47.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007708/0.3191, allocations: 0.8259 MB / 0.501 GB, free: 47.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.3205, allocations: 0.5054 MB / 0.5015 GB, free: 46.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007543/0.328, allocations: 7.765 MB / 0.509 GB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008899/0.3289, allocations: 1.429 MB / 0.5104 GB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001514/0.3304, allocations: 1.177 MB / 0.5116 GB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.3309, allocations: 231.8 kB / 0.5118 GB, free: 37.46 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.3309, allocations: 0 / 0.5118 GB, free: 37.46 MB / 410.7 MB Notification: Performance of Templates: time 0.03656/0.3675, allocations: 32.17 MB / 0.5432 GB, free: 7.156 MB / 410.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 -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: 4.158910636790097]