Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.00183/0.00183, allocations: 127.4 kB / 17.79 MB, free: 5.242 MB / 14.72 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.002259/0.002259, allocations: 211.6 kB / 20.75 MB, free: 2.293 MB / 14.72 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.542/1.542, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 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.2384/0.2384, allocations: 46.94 MB / 357 MB, free: 10.16 MB / 286.1 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.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 79.88 kB / 0.4914 GB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1468, allocations: 66.06 MB / 0.5559 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.009902/0.1567, allocations: 6.579 MB / 0.5624 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005705/0.1624, allocations: 2.271 MB / 0.5646 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1635, allocations: 20 kB / 0.5646 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003781/0.1673, allocations: 1.535 MB / 0.5661 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.1699, allocations: 0.7076 MB / 0.5668 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.1714, allocations: 0.5948 MB / 0.5674 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.1729, allocations: 1.174 MB / 0.5685 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.1741, allocations: 0.7272 MB / 0.5692 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006798/0.1748, allocations: 0.506 MB / 0.5697 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.1754, allocations: 0.6185 MB / 0.5703 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.1756, allocations: 108 kB / 0.5704 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006281/0.1762, allocations: 291.8 kB / 0.5707 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.1764, allocations: 263 kB / 0.571 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004947/0.1769, allocations: 0.5559 MB / 0.5715 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.1786, allocations: 1.518 MB / 0.573 GB, free: 3.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1786, allocations: 4 kB / 0.573 GB, free: 3.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1786, allocations: 0 / 0.573 GB, free: 3.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.1786, allocations: 0 / 0.573 GB, free: 3.461 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.004639/0.1833, allocations: 1.692 MB / 0.5746 GB, free: 1.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1833, allocations: 8.031 kB / 0.5747 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00862/0.1919, allocations: 1.12 MB / 0.5757 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.193, allocations: 0.5338 MB / 0.5763 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.1931, allocations: 86.75 kB / 0.5763 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.1933, allocations: 108.4 kB / 0.5765 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.196, allocations: 1.364 MB / 0.5778 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.196, allocations: 0 / 0.5778 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.1961, allocations: 52 kB / 0.5778 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.1962, allocations: 28 kB / 0.5779 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.1992, allocations: 1.433 MB / 0.5793 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008187/0.2074, allocations: 5.632 MB / 0.5848 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/0.211, allocations: 2.069 MB / 0.5868 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009593/0.2119, allocations: 388.8 kB / 0.5872 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.2121, allocations: 186.2 kB / 0.5873 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.2122, allocations: 58.42 kB / 0.5874 GB, free: 3.699 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.614e-06/0.2122, allocations: 0 / 0.5874 GB, free: 3.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.003587/0.2158, allocations: 1.245 MB / 0.5886 GB, free: 2.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.2159, allocations: 251.5 kB / 0.5888 GB, free: 2.129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008145/0.2167, allocations: 0.5644 MB / 0.5894 GB, free: 1.551 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/0.2168, allocations: 37.7 kB / 0.5894 GB, free: 1.508 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.2172, allocations: 472.1 kB / 0.5899 GB, free: 1.039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.2174, allocations: 305.4 kB / 0.5902 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/0.2177, allocations: 194.8 kB / 0.5904 GB, free: 0.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.2179, allocations: 382.7 kB / 0.5907 GB, free: 164 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3031/0.521, allocations: 386.2 kB / 0.5911 GB, free: 33.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.5222, allocations: 0.6601 MB / 0.5917 GB, free: 33.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.5241, allocations: 1.054 MB / 0.5928 GB, free: 32.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.5241, allocations: 5.5 kB / 0.5928 GB, free: 32.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002679/0.5268, allocations: 1.198 MB / 0.5939 GB, free: 32.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.5268, allocations: 13.56 kB / 0.5939 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.5269, allocations: 8.219 kB / 0.594 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.527, allocations: 34.89 kB / 0.594 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.5282, allocations: 285.3 kB / 0.5943 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.473e-05/0.5283, allocations: 27.53 kB / 0.5943 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008994/0.5292, allocations: 156.6 kB / 0.5944 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.181e-05/0.5292, allocations: 50.86 kB / 0.5945 GB, free: 32.66 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.0004031/0.5297, allocations: 251.2 kB / 0.5947 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/0.5299, allocations: 74.39 kB / 0.5948 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.5326, allocations: 1.025 MB / 0.5958 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.5326, allocations: 18.66 kB / 0.5958 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.5326, allocations: 2.422 kB / 0.5958 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.5326, allocations: 5.672 kB / 0.5958 GB, free: 32.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004308/0.5369, allocations: 2.307 MB / 0.5981 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.5369, allocations: 2.062 kB / 0.5981 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.5379, allocations: 229 kB / 0.5983 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.538, allocations: 26.25 kB / 0.5983 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/0.5381, allocations: 25.42 kB / 0.5983 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.5381, allocations: 5.203 kB / 0.5984 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.5381, allocations: 1.531 kB / 0.5984 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/0.5415, allocations: 1.84 MB / 0.6002 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.5417, allocations: 165.7 kB / 0.6003 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.5418, allocations: 18.36 kB / 0.6003 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008443/0.5426, allocations: 59.8 kB / 0.6004 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.5428, allocations: 73.77 kB / 0.6005 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.5429, allocations: 33.22 kB / 0.6005 GB, free: 30.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005429/0.5434, allocations: 401.4 kB / 0.6009 GB, free: 30.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5434, allocations: 0 / 0.6009 GB, free: 30.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001288/0.5447, allocations: 295.9 kB / 0.6011 GB, free: 30.05 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.0002697/0.545, allocations: 152 kB / 0.6013 GB, free: 29.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002363/0.5473, allocations: 0.9906 MB / 0.6023 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5474, allocations: 0 / 0.6023 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.5484, allocations: 0.5063 MB / 0.6028 GB, free: 29.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009799/0.5494, allocations: 109 kB / 0.6029 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.5523, allocations: 1.753 MB / 0.6046 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.5528, allocations: 0.9777 MB / 0.6055 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005424/0.5533, allocations: 138.9 kB / 0.6057 GB, free: 27.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.5536, allocations: 84.91 kB / 0.6057 GB, free: 27.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5536, allocations: 0.625 kB / 0.6057 GB, free: 27.5 MB / 446.1 MB Notification: Performance of Templates: time 0.01974/0.5734, allocations: 10.4 MB / 0.6159 GB, free: 24.9 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.088858962059021]