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.001838/0.001838, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.002216/0.002216, allocations: 159 kB / 25.61 MB, free: 8.582 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 0.9881/0.9881, allocations: 177 MB / 205.9 MB, free: 4.461 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.1392/0.1392, allocations: 34.87 MB / 297.4 MB, free: 13.34 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.783e-06/1.783e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.934e-05, allocations: 2.312 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.006097/0.006116, allocations: 6.23 MB / 386.2 MB, free: 16.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.008769, allocations: 2.161 MB / 388.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.009052, allocations: 24 kB / 388.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.01043, allocations: 1.575 MB / 390 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008471/0.01127, allocations: 0.7106 MB / 390.7 MB, free: 12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006208/0.0119, allocations: 0.582 MB / 391.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006376/0.01253, allocations: 1.213 MB / 392.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006855/0.01322, allocations: 0.8482 MB / 393.3 MB, free: 9.328 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.01367, allocations: 0.7211 MB / 394.1 MB, free: 8.605 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.01399, allocations: 0.4947 MB / 394.6 MB, free: 8.109 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.879e-05/0.01407, allocations: 108 kB / 394.7 MB, free: 8.004 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.01435, allocations: 283.6 kB / 394.9 MB, free: 7.727 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.01448, allocations: 270.9 kB / 395.2 MB, free: 7.461 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.01467, allocations: 391 kB / 395.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006031/0.01527, allocations: 1 MB / 396.6 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01527, allocations: 0 / 396.6 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01527, allocations: 0 / 396.6 MB, free: 6.074 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.01528, allocations: 3.938 kB / 396.6 MB, free: 6.07 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.001926/0.01721, allocations: 1.709 MB / 398.3 MB, free: 4.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.64e-05/0.01723, allocations: 8.031 kB / 398.3 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004196/0.02143, allocations: 1.405 MB / 399.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.02186, allocations: 482.4 kB / 400.2 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.0219, allocations: 94.7 kB / 400.3 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.02201, allocations: 116.3 kB / 400.4 MB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008605/0.02287, allocations: 1.045 MB / 401.4 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.0229, allocations: 4.172 kB / 401.4 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/0.02297, allocations: 52.38 kB / 401.5 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.02298, allocations: 31.94 kB / 401.5 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006247/0.02361, allocations: 0.6291 MB / 402.1 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.02697, allocations: 3.578 MB / 405.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.02824, allocations: 0.9705 MB / 406.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.02844, allocations: 198 kB / 406.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.193e-05/0.0285, allocations: 36.78 kB / 406.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.02853, allocations: 53.33 kB / 407 MB, free: 11.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 1.923e-06/0.02853, allocations: 0 / 407 MB, free: 11.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.0009322/0.02946, allocations: 0.6043 MB / 407.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.02954, allocations: 243.3 kB / 407.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.0298, allocations: 450.2 kB / 408.3 MB, free: 9.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.02985, allocations: 41.95 kB / 408.3 MB, free: 9.898 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.03006, allocations: 0.5337 MB / 408.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.03021, allocations: 309.3 kB / 409.1 MB, free: 9.051 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.03045, allocations: 208.5 kB / 409.3 MB, free: 8.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.0306, allocations: 0.5468 MB / 409.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.03077, allocations: 126.5 kB / 410 MB, free: 8.156 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.03116, allocations: 0.5827 MB / 410.6 MB, free: 7.391 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005984/0.03176, allocations: 0.7061 MB / 411.3 MB, free: 6.531 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.03176, allocations: 4 kB / 411.3 MB, free: 6.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.000877/0.03264, allocations: 0.738 MB / 412 MB, free: 5.781 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.03266, allocations: 8 kB / 412 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.03267, allocations: 12.09 kB / 412.1 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.402e-05/0.03275, allocations: 39.66 kB / 412.1 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.03331, allocations: 271.6 kB / 412.4 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.03333, allocations: 19.94 kB / 412.4 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.03367, allocations: 115.3 kB / 412.5 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.895e-05/0.03372, allocations: 39.98 kB / 412.5 MB, free: 5.281 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.0001959/0.03391, allocations: 228.2 kB / 412.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.03408, allocations: 87.61 kB / 412.8 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007672/0.03485, allocations: 0.6236 MB / 413.5 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.03485, allocations: 12 kB / 413.5 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.03486, allocations: 0 / 413.5 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.03486, allocations: 7.984 kB / 413.5 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.0365, allocations: 1.68 MB / 415.2 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.03651, allocations: 7.938 kB / 415.2 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.03694, allocations: 195.8 kB / 415.4 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.316e-05/0.037, allocations: 39.59 kB / 415.4 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.03703, allocations: 27.97 kB / 415.4 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.03704, allocations: 8 kB / 415.4 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03704, allocations: 0 / 415.4 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/0.03801, allocations: 1.408 MB / 416.8 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.03806, allocations: 67.44 kB / 416.9 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.03813, allocations: 20 kB / 416.9 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.03847, allocations: 47.97 kB / 417 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/0.03857, allocations: 79.73 kB / 417.1 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.0386, allocations: 23.98 kB / 417.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.03875, allocations: 279 kB / 417.4 MB, free: 380 kB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03875, allocations: 0 / 417.4 MB, free: 380 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006185/0.03937, allocations: 303.2 kB / 417.6 MB, free: 76 kB / 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.0001882/0.03956, allocations: 158.5 kB / 417.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006068/0.04017, allocations: 0.5112 MB / 418.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.04017, allocations: 4 kB / 418.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.04044, allocations: 270.9 kB / 418.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.04102, allocations: 120.2 kB / 418.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.04272, allocations: 1.547 MB / 420.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.04285, allocations: 174 kB / 420.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002987/0.04314, allocations: 129.4 kB / 420.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.04348, allocations: 234.1 kB / 420.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/0.04348, allocations: 0 / 420.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of Templates: time 0.01311/0.05659, allocations: 10.73 MB / 431.5 MB, free: 2.289 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 -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.6042393688112497]