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.0009257/0.0009257, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009554/0.0009554, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.8736/0.8736, allocations: 177 MB / 204.8 MB, free: 5.562 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.2773/0.2773, allocations: 34.86 MB / 296.3 MB, free: 0.5508 MB / 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.103e-06/1.103e-06, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.285e-05, allocations: 2.312 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.005435/0.005458, allocations: 6.374 MB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.008586, allocations: 2.193 MB / 387.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00047/0.009056, allocations: 23.94 kB / 387.3 MB, free: 9.461 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.01085, allocations: 1.614 MB / 389 MB, free: 7.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.01208, allocations: 0.7224 MB / 389.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/0.01294, allocations: 0.5796 MB / 390.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.01408, allocations: 1.213 MB / 391.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.01512, allocations: 0.8442 MB / 392.3 MB, free: 4.445 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007722/0.01589, allocations: 0.7327 MB / 393.1 MB, free: 3.711 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005243/0.01642, allocations: 0.4987 MB / 393.6 MB, free: 3.211 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.01656, allocations: 104 kB / 393.7 MB, free: 3.109 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/0.01705, allocations: 287.6 kB / 393.9 MB, free: 2.828 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.0172, allocations: 266.9 kB / 394.2 MB, free: 2.566 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.01751, allocations: 394.9 kB / 394.6 MB, free: 2.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.01852, allocations: 1 MB / 395.6 MB, free: 1.176 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.01852, allocations: 0 / 395.6 MB, free: 1.176 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01852, allocations: 0 / 395.6 MB, free: 1.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.01854, allocations: 0 / 395.6 MB, free: 1.176 MB / 362.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.00251/0.02105, allocations: 1.701 MB / 397.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.02109, allocations: 8.031 kB / 397.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004268/0.02536, allocations: 1.405 MB / 398.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.026, allocations: 482.4 kB / 399.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/0.02605, allocations: 98.69 kB / 399.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.02619, allocations: 116.3 kB / 399.4 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.0276, allocations: 1.139 MB / 400.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.02763, allocations: 12.19 kB / 400.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/0.02772, allocations: 44.38 kB / 400.6 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.02774, allocations: 31.94 kB / 400.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.02887, allocations: 0.7668 MB / 401.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003871/0.03275, allocations: 3.671 MB / 405 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.03414, allocations: 1.011 MB / 406.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.03441, allocations: 222 kB / 406.3 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.786e-05/0.03448, allocations: 35.97 kB / 406.3 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.03451, allocations: 58.08 kB / 406.4 MB, free: 6.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 3.256e-06/0.03452, allocations: 0 / 406.4 MB, free: 6.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.001136/0.03565, allocations: 0.6861 MB / 407 MB, free: 5.324 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.03573, allocations: 239.3 kB / 407.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.03605, allocations: 466.3 kB / 407.7 MB, free: 4.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.03609, allocations: 41.7 kB / 407.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.0363, allocations: 0.5259 MB / 408.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.03646, allocations: 309.4 kB / 408.6 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.03665, allocations: 204.5 kB / 408.8 MB, free: 3.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.03679, allocations: 0.5391 MB / 409.3 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.03706, allocations: 166.8 kB / 409.5 MB, free: 2.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/0.03753, allocations: 0.6101 MB / 410.1 MB, free: 1.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/0.03829, allocations: 0.7671 MB / 410.9 MB, free: 1.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-06/0.0383, allocations: 7.938 kB / 410.9 MB, free: 1.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001092/0.03939, allocations: 0.8197 MB / 411.7 MB, free: 212 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.03941, allocations: 8 kB / 411.7 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.03942, allocations: 12 kB / 411.7 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.03954, allocations: 35.67 kB / 411.8 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/0.04011, allocations: 272.2 kB / 412 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.04013, allocations: 23.92 kB / 412.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.04051, allocations: 111.3 kB / 412.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.04056, allocations: 51.81 kB / 412.2 MB, free: 15.7 MB / 394.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.0002/0.04076, allocations: 232.1 kB / 412.4 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.04091, allocations: 91.62 kB / 412.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009325/0.04184, allocations: 0.681 MB / 413.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.04186, allocations: 12 kB / 413.2 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.04186, allocations: 0 / 413.2 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.04187, allocations: 15.91 kB / 413.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.04389, allocations: 1.84 MB / 415.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.0439, allocations: 0 / 415.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.04435, allocations: 207.7 kB / 415.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.205e-05/0.04441, allocations: 23.67 kB / 415.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.04445, allocations: 23.98 kB / 415.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.04446, allocations: 4 kB / 415.3 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.04446, allocations: 7.938 kB / 415.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.04567, allocations: 1.502 MB / 416.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.04572, allocations: 63.48 kB / 416.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.895e-05/0.04579, allocations: 23.88 kB / 416.9 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.04612, allocations: 43.97 kB / 417 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.04624, allocations: 75.8 kB / 417 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.04627, allocations: 27.98 kB / 417.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.04647, allocations: 295 kB / 417.4 MB, free: 10.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.04647, allocations: 0 / 417.4 MB, free: 10.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007204/0.04719, allocations: 311.2 kB / 417.7 MB, free: 10.14 MB / 394.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.0002263/0.04742, allocations: 155 kB / 417.8 MB, free: 9.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007894/0.04821, allocations: 0.5708 MB / 418.4 MB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.04821, allocations: 0.625 kB / 418.4 MB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.04854, allocations: 302.2 kB / 418.7 MB, free: 9.105 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.04912, allocations: 117.4 kB / 418.8 MB, free: 8.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.05106, allocations: 1.57 MB / 420.4 MB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.05119, allocations: 173.8 kB / 420.5 MB, free: 7.176 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.05148, allocations: 133.4 kB / 420.7 MB, free: 7.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.05165, allocations: 80.47 kB / 420.7 MB, free: 6.965 MB / 394.7 MB Notification: Performance of SimCode: time 1.332e-06/0.05165, allocations: 0 / 420.7 MB, free: 6.965 MB / 394.7 MB Notification: Performance of Templates: time 0.01297/0.06463, allocations: 10.34 MB / 431.1 MB, free: 12.73 MB / 410.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 -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.3584936228580773]