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.0007487/0.0007487, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009847/0.001733, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006956/0.0006956, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008819/0.001577, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.01/1.01, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07758/1.088, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2528/0.2528, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02293/0.2758, allocations: 13.23 MB / 292.6 MB, free: 6.477 MB / 282.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.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 1.272e-06/1.272e-06, allocations: 0 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.394e-05, allocations: 4.562 kB / 293.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.007202/0.007216, allocations: 6.309 MB / 300.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004179/0.01139, allocations: 2.276 MB / 302.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.0118, allocations: 23.94 kB / 302.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.01351, allocations: 1.613 MB / 304.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000947/0.01446, allocations: 0.7105 MB / 304.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.01516, allocations: 0.5831 MB / 305.4 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009901/0.01615, allocations: 1.213 MB / 306.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009537/0.01711, allocations: 0.8242 MB / 307.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006198/0.01773, allocations: 0.7747 MB / 308.2 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.0181, allocations: 0.4908 MB / 308.7 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.864e-05/0.01819, allocations: 104 kB / 308.8 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.01856, allocations: 295.7 kB / 309.1 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.01866, allocations: 183.4 kB / 309.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.01889, allocations: 315.4 kB / 309.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009414/0.01983, allocations: 0.9261 MB / 310.5 MB, free: 4.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.01984, allocations: 0 / 310.5 MB, free: 4.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01984, allocations: 0 / 310.5 MB, free: 4.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.01986, allocations: 0 / 310.5 MB, free: 4.5 MB / 298.7 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.002132/0.02199, allocations: 1.933 MB / 312.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.02202, allocations: 8.922 kB / 312.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003922/0.02594, allocations: 1.561 MB / 314 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.02631, allocations: 307.8 kB / 314.3 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.02636, allocations: 90.69 kB / 314.4 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.02646, allocations: 116.4 kB / 314.5 MB, free: 424 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008559/0.02732, allocations: 1.027 MB / 315.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.02734, allocations: 8.141 kB / 315.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.0274, allocations: 52.38 kB / 315.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.02742, allocations: 31.94 kB / 315.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005891/0.02801, allocations: 0.5356 MB / 316.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/0.03116, allocations: 2.831 MB / 319 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.0322, allocations: 0.866 MB / 319.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.03241, allocations: 165.1 kB / 320 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.198e-05/0.03248, allocations: 31.98 kB / 320 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.03252, allocations: 59.2 kB / 320.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 2.514e-06/0.03252, allocations: 0 / 320.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.0008646/0.03338, allocations: 470 kB / 320.5 MB, free: 10.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.03345, allocations: 199.9 kB / 320.7 MB, free: 9.859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.03373, allocations: 375 kB / 321.1 MB, free: 9.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.03378, allocations: 41.7 kB / 321.1 MB, free: 9.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.03399, allocations: 460.3 kB / 321.6 MB, free: 8.977 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.03416, allocations: 305.4 kB / 321.9 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.03437, allocations: 190.7 kB / 322.1 MB, free: 8.484 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.03449, allocations: 370.7 kB / 322.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.03466, allocations: 110.8 kB / 322.5 MB, free: 8.004 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.03502, allocations: 455.6 kB / 323 MB, free: 7.422 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.03561, allocations: 0.6011 MB / 323.6 MB, free: 6.711 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.03562, allocations: 0 / 323.6 MB, free: 6.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0007721/0.03639, allocations: 0.568 MB / 324.2 MB, free: 6.137 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.03641, allocations: 12 kB / 324.2 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.03642, allocations: 11.94 kB / 324.2 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.65e-05/0.03652, allocations: 36.84 kB / 324.2 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.03757, allocations: 324 kB / 324.5 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.03759, allocations: 15.94 kB / 324.5 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.038, allocations: 119.2 kB / 324.7 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.627e-05/0.03806, allocations: 35.98 kB / 324.7 MB, free: 5.59 MB / 314.7 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.0001789/0.03824, allocations: 177.5 kB / 324.9 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.0384, allocations: 63.94 kB / 324.9 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007397/0.03914, allocations: 0.5068 MB / 325.4 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.03915, allocations: 12 kB / 325.5 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.03915, allocations: 3.984 kB / 325.5 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.03916, allocations: 11.98 kB / 325.5 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.04082, allocations: 1.193 MB / 326.7 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.04082, allocations: 0 / 326.7 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/0.04145, allocations: 239.6 kB / 326.9 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.04151, allocations: 63.44 kB / 327 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.638e-05/0.04157, allocations: 24.84 kB / 327 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.04161, allocations: 19.98 kB / 327 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.04162, allocations: 7.984 kB / 327 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.04162, allocations: 4 kB / 327 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000884/0.0425, allocations: 1.017 MB / 328 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/0.04258, allocations: 23.98 kB / 328.1 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.04301, allocations: 39.92 kB / 328.1 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.04312, allocations: 79.73 kB / 328.2 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.04316, allocations: 23.98 kB / 328.2 MB, free: 2.016 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.0433, allocations: 152.7 kB / 328.3 MB, free: 1.867 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0433, allocations: 0 / 328.3 MB, free: 1.867 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001043/0.04434, allocations: 303.2 kB / 328.6 MB, free: 1.57 MB / 314.7 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.0002023/0.04454, allocations: 144.9 kB / 328.8 MB, free: 1.426 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006378/0.04518, allocations: 468.2 kB / 329.2 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.549e-05/0.04521, allocations: 16.5 kB / 329.3 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.04548, allocations: 242.8 kB / 329.5 MB, free: 0.707 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007662/0.04625, allocations: 187.8 kB / 329.7 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009607/0.05586, allocations: 1.519 MB / 331.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.05601, allocations: 186 kB / 331.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006061/0.05662, allocations: 121.5 kB / 331.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006521/0.05727, allocations: 203.3 kB / 331.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.05727, allocations: 3.938 kB / 331.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of Templates: time 0.01522/0.07249, allocations: 10.53 MB / 342.2 MB, free: 4.055 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 240] 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","",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.0749493818730116]