Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.001822/0.001822, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002182/0.002182, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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.735/1.735, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.2654/0.2654, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 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.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 71.91 kB / 0.4914 GB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1729, allocations: 65.99 MB / 0.5558 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.009984/0.1829, allocations: 6.58 MB / 0.5623 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005897/0.1888, allocations: 2.263 MB / 0.5645 GB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.1899, allocations: 23.94 kB / 0.5645 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004094/0.194, allocations: 1.535 MB / 0.566 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002756/0.1967, allocations: 0.7148 MB / 0.5667 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.1984, allocations: 0.5918 MB / 0.5673 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001848/0.2002, allocations: 1.178 MB / 0.5684 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.2015, allocations: 0.7195 MB / 0.5691 GB, free: 7.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000859/0.2024, allocations: 0.5138 MB / 0.5696 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007927/0.2032, allocations: 0.6186 MB / 0.5702 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.2033, allocations: 107.9 kB / 0.5703 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008071/0.2041, allocations: 287.8 kB / 0.5706 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.2044, allocations: 259 kB / 0.5709 GB, free: 5.922 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006378/0.205, allocations: 0.5597 MB / 0.5714 GB, free: 5.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.2072, allocations: 1.514 MB / 0.5729 GB, free: 3.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2072, allocations: 0 / 0.5729 GB, free: 3.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2072, allocations: 0 / 0.5729 GB, free: 3.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.2073, allocations: 4 kB / 0.5729 GB, free: 3.836 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00486/0.2121, allocations: 1.684 MB / 0.5745 GB, free: 2.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.2122, allocations: 12.03 kB / 0.5745 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008872/0.221, allocations: 1.128 MB / 0.5756 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.2223, allocations: 0.5338 MB / 0.5762 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.269e-05/0.2224, allocations: 82.7 kB / 0.5762 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.2226, allocations: 120.4 kB / 0.5764 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/0.2256, allocations: 1.356 MB / 0.5777 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.2256, allocations: 0 / 0.5777 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.2258, allocations: 51.98 kB / 0.5777 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.2258, allocations: 28 kB / 0.5778 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.2291, allocations: 1.429 MB / 0.5792 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008963/0.2381, allocations: 5.636 MB / 0.5847 GB, free: 7.133 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00389/0.2419, allocations: 2.07 MB / 0.5867 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009829/0.2429, allocations: 396.7 kB / 0.5871 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.2432, allocations: 198.1 kB / 0.5873 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.2432, allocations: 50.5 kB / 0.5873 GB, free: 4.055 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.136e-06/0.2432, allocations: 0 / 0.5873 GB, free: 4.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.003671/0.2469, allocations: 1.244 MB / 0.5885 GB, free: 2.789 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/0.2471, allocations: 239.3 kB / 0.5887 GB, free: 2.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.2479, allocations: 0.5683 MB / 0.5893 GB, free: 1.918 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.955e-05/0.248, allocations: 41.7 kB / 0.5893 GB, free: 1.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.2484, allocations: 468.1 kB / 0.5898 GB, free: 1.406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.2487, allocations: 309.4 kB / 0.5901 GB, free: 1.102 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/0.249, allocations: 194.8 kB / 0.5903 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.2492, allocations: 382.7 kB / 0.5906 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009864/0.2502, allocations: 382.4 kB / 0.591 GB, free: 152 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3188/0.569, allocations: 0.6576 MB / 0.5916 GB, free: 33.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.5712, allocations: 1.056 MB / 0.5927 GB, free: 33.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.5713, allocations: 2.562 kB / 0.5927 GB, free: 33.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003037/0.5743, allocations: 1.199 MB / 0.5938 GB, free: 33.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.5743, allocations: 9.188 kB / 0.5939 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.5743, allocations: 8.438 kB / 0.5939 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/0.5745, allocations: 41.42 kB / 0.5939 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.5757, allocations: 285.7 kB / 0.5942 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/0.5758, allocations: 22.44 kB / 0.5942 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.5768, allocations: 152.6 kB / 0.5943 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.5769, allocations: 51.98 kB / 0.5944 GB, free: 33.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000442/0.5774, allocations: 255.9 kB / 0.5946 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.5776, allocations: 76.28 kB / 0.5947 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/0.5803, allocations: 1.032 MB / 0.5957 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.374e-05/0.5804, allocations: 18.12 kB / 0.5957 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.5804, allocations: 1.625 kB / 0.5957 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.5804, allocations: 6.109 kB / 0.5957 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004773/0.5852, allocations: 2.305 MB / 0.598 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.5852, allocations: 2.5 kB / 0.598 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.5862, allocations: 227.3 kB / 0.5982 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.5863, allocations: 26.06 kB / 0.5982 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.5864, allocations: 29.64 kB / 0.5983 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.5864, allocations: 4.031 kB / 0.5983 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5864, allocations: 7 kB / 0.5983 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.5899, allocations: 1.84 MB / 0.6001 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.5901, allocations: 164.6 kB / 0.6002 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.5902, allocations: 19.19 kB / 0.6002 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008739/0.5911, allocations: 60.5 kB / 0.6003 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.5913, allocations: 73.31 kB / 0.6004 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/0.5913, allocations: 30.86 kB / 0.6004 GB, free: 30.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005359/0.5919, allocations: 403.2 kB / 0.6008 GB, free: 30.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5919, allocations: 0 / 0.6008 GB, free: 30.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001277/0.5931, allocations: 295.4 kB / 0.6011 GB, free: 30.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma,currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_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 (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002775/0.5934, allocations: 152.8 kB / 0.6012 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.5959, allocations: 0.9908 MB / 0.6022 GB, free: 29.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5959, allocations: 0 / 0.6022 GB, free: 29.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.597, allocations: 0.5094 MB / 0.6027 GB, free: 29.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.5981, allocations: 103.6 kB / 0.6028 GB, free: 29.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.601, allocations: 1.752 MB / 0.6045 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.6015, allocations: 0.9796 MB / 0.6054 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005418/0.602, allocations: 140.8 kB / 0.6056 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/0.6023, allocations: 85.23 kB / 0.6057 GB, free: 27.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.6023, allocations: 0 / 0.6057 GB, free: 27.88 MB / 446.1 MB Notification: Performance of Templates: time 0.0211/0.6234, allocations: 10.4 MB / 0.6158 GB, free: 25.38 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.417159412056208]