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.0009337/0.0009337, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009661/0.0009661, allocations: 158.8 kB / 24.91 MB, free: 9.191 MB / 18.57 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.012/1.012, allocations: 177 MB / 205.2 MB, free: 5.418 MB / 186.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.2758/0.2758, allocations: 34.87 MB / 296.6 MB, free: 456 kB / 266.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.714e-06/1.714e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.791e-05, allocations: 5.234 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008086/0.008104, allocations: 6.272 MB / 332.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00503/0.01313, allocations: 2.256 MB / 334.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005214/0.01365, allocations: 20 kB / 334.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.01558, allocations: 1.61 MB / 336.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.0169, allocations: 0.7145 MB / 336.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.0177, allocations: 0.5856 MB / 337.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00093/0.01863, allocations: 1.218 MB / 338.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008584/0.01948, allocations: 0.891 MB / 339.5 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000572/0.02006, allocations: 0.7327 MB / 340.3 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.02046, allocations: 0.4948 MB / 340.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.467e-05/0.02055, allocations: 108 kB / 340.9 MB, free: 8.102 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.02092, allocations: 291.6 kB / 341.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.02105, allocations: 266.9 kB / 341.4 MB, free: 7.555 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.02128, allocations: 398.9 kB / 341.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007705/0.02205, allocations: 1 MB / 342.8 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.02205, allocations: 0 / 342.8 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02206, allocations: 0 / 342.8 MB, free: 6.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.02206, allocations: 3.938 kB / 342.8 MB, free: 6.156 MB / 314.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.002198/0.02426, allocations: 1.631 MB / 344.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.02429, allocations: 11.97 kB / 344.4 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0049/0.02919, allocations: 1.561 MB / 346 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.02968, allocations: 307.8 kB / 346.3 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/0.02974, allocations: 86.7 kB / 346.4 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.02985, allocations: 120.4 kB / 346.5 MB, free: 2.391 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009494/0.0308, allocations: 1.015 MB / 347.5 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.03083, allocations: 16.11 kB / 347.5 MB, free: 1.281 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.305e-05/0.03089, allocations: 48.38 kB / 347.6 MB, free: 1.234 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.03091, allocations: 35.92 kB / 347.6 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.03153, allocations: 0.5356 MB / 348.1 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.03458, allocations: 2.812 MB / 351 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.03571, allocations: 0.8638 MB / 351.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.03598, allocations: 169.8 kB / 352 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.415e-05/0.03605, allocations: 35.97 kB / 352 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.03608, allocations: 50.33 kB / 352.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 2.645e-06/0.03608, allocations: 0 / 352.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.0007366/0.03682, allocations: 475.9 kB / 352.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.0369, allocations: 243.3 kB / 352.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.03712, allocations: 375 kB / 353.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.03716, allocations: 41.7 kB / 353.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.03733, allocations: 468.3 kB / 353.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.03747, allocations: 301.3 kB / 353.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.03765, allocations: 190.8 kB / 354.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.03775, allocations: 374.9 kB / 354.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.03789, allocations: 110.5 kB / 354.6 MB, free: 9.941 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.03817, allocations: 459.5 kB / 355 MB, free: 9.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/0.03872, allocations: 0.5905 MB / 355.6 MB, free: 8.656 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.03873, allocations: 4 kB / 355.6 MB, free: 8.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0006207/0.03935, allocations: 0.5784 MB / 356.2 MB, free: 8.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.03937, allocations: 11.98 kB / 356.2 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.03938, allocations: 8 kB / 356.2 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.858e-05/0.03946, allocations: 28.84 kB / 356.3 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/0.04009, allocations: 300.1 kB / 356.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.0401, allocations: 15.94 kB / 356.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.04041, allocations: 119.2 kB / 356.7 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.04046, allocations: 35.98 kB / 356.7 MB, free: 7.559 MB / 330.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.0001885/0.04065, allocations: 173.5 kB / 356.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.04078, allocations: 67.94 kB / 357 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006466/0.04142, allocations: 0.511 MB / 357.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.04143, allocations: 12 kB / 357.5 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.04144, allocations: 0 / 357.5 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.04145, allocations: 7.984 kB / 357.5 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.04281, allocations: 1.206 MB / 358.7 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.04282, allocations: 0 / 358.7 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.0434, allocations: 215.7 kB / 358.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-05/0.04346, allocations: 16.84 kB / 358.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.04349, allocations: 35.98 kB / 359 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.0435, allocations: 7.938 kB / 359 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.0435, allocations: 0 / 359 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000752/0.04425, allocations: 1.017 MB / 360 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.0443, allocations: 59.42 kB / 360 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.04436, allocations: 20 kB / 360.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.04467, allocations: 47.97 kB / 360.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.04478, allocations: 71.73 kB / 360.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.04481, allocations: 27.98 kB / 360.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.04492, allocations: 152.7 kB / 360.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04492, allocations: 0 / 360.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005863/0.04551, allocations: 307.2 kB / 360.7 MB, free: 3.559 MB / 330.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.000203/0.04571, allocations: 138.3 kB / 360.8 MB, free: 3.418 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005359/0.04625, allocations: 468.2 kB / 361.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/0.04626, allocations: 12.5 kB / 361.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.04649, allocations: 243.7 kB / 361.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.04701, allocations: 117 kB / 361.6 MB, free: 2.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.04861, allocations: 1.459 MB / 363.1 MB, free: 1.082 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.04873, allocations: 174 kB / 363.2 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002801/0.04901, allocations: 125.4 kB / 363.4 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.04932, allocations: 195.3 kB / 363.6 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of SimCode: time 8.02e-07/0.04932, allocations: 0 / 363.6 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of Templates: time 0.01252/0.06184, allocations: 10.24 MB / 373.8 MB, free: 6.496 MB / 346.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 -s gbode -gbm=radauIIA3 -emit_protected -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.3148417230695486]