Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009837/0.0009837, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 171 kB / 24.82 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.071/1.071, allocations: 177.2 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3148/0.3148, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.347e-05, allocations: 2.312 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008737/0.00877, allocations: 6.213 MB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004882/0.01365, allocations: 2.177 MB / 386.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009981/0.01465, allocations: 23.94 kB / 386.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.01691, allocations: 1.575 MB / 388.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002432/0.01934, allocations: 0.7184 MB / 389.2 MB, free: 7.621 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.02057, allocations: 0.5714 MB / 389.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.02229, allocations: 1.217 MB / 391 MB, free: 5.832 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.0237, allocations: 0.8481 MB / 391.8 MB, free: 4.961 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.02485, allocations: 0.7249 MB / 392.6 MB, free: 4.234 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006711/0.02552, allocations: 0.5025 MB / 393.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.02572, allocations: 108 kB / 393.2 MB, free: 3.625 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006583/0.02638, allocations: 283.6 kB / 393.5 MB, free: 3.348 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.02652, allocations: 267 kB / 393.7 MB, free: 3.086 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.02719, allocations: 390.9 kB / 394.1 MB, free: 2.703 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.02853, allocations: 1 MB / 395.1 MB, free: 1.699 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.02854, allocations: 4 kB / 395.1 MB, free: 1.695 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.02854, allocations: 4 kB / 395.1 MB, free: 1.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.069e-05/0.02857, allocations: 0 / 395.1 MB, free: 1.691 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.002688/0.03126, allocations: 1.709 MB / 396.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.03131, allocations: 8.031 kB / 396.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.03549, allocations: 1.401 MB / 398.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.03649, allocations: 490.4 kB / 398.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.03656, allocations: 86.7 kB / 398.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.03672, allocations: 124.3 kB / 398.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.03815, allocations: 1.053 MB / 400 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.03818, allocations: 192 / 400 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.03826, allocations: 48.38 kB / 400 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.03828, allocations: 31.94 kB / 400 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/0.03913, allocations: 0.633 MB / 400.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/0.04411, allocations: 3.574 MB / 404.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.04546, allocations: 0.9704 MB / 405.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.0457, allocations: 201 kB / 405.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.0458, allocations: 47.95 kB / 405.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.04585, allocations: 54.14 kB / 405.5 MB, free: 6.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 5.5e-06/0.04586, allocations: 0 / 405.5 MB, free: 6.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.001022/0.04688, allocations: 0.6057 MB / 406.1 MB, free: 6.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/0.04696, allocations: 239.3 kB / 406.4 MB, free: 6.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.0473, allocations: 450.1 kB / 406.8 MB, free: 5.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.04734, allocations: 41.7 kB / 406.8 MB, free: 5.504 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.04759, allocations: 0.5298 MB / 407.4 MB, free: 4.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.0478, allocations: 313.6 kB / 407.7 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.04803, allocations: 212.4 kB / 407.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000486/0.04852, allocations: 0.5429 MB / 408.4 MB, free: 3.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.0487, allocations: 126.5 kB / 408.5 MB, free: 3.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.04909, allocations: 0.5788 MB / 409.1 MB, free: 3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.04976, allocations: 0.709 MB / 409.8 MB, free: 2.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.04977, allocations: 4 kB / 409.8 MB, free: 2.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001024/0.05079, allocations: 0.7365 MB / 410.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.05082, allocations: 8 kB / 410.6 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.05083, allocations: 8.906 kB / 410.6 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.05096, allocations: 35.67 kB / 410.6 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.05154, allocations: 275.6 kB / 410.9 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.05155, allocations: 15.94 kB / 410.9 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.05202, allocations: 115.3 kB / 411 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.05207, allocations: 39.98 kB / 411.1 MB, free: 0.8945 MB / 378.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.0003236/0.05239, allocations: 228.1 kB / 411.3 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.05258, allocations: 99.61 kB / 411.4 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009096/0.05349, allocations: 0.6219 MB / 412 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.05349, allocations: 8 kB / 412 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.0535, allocations: 8 kB / 412 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.05351, allocations: 7.984 kB / 412 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.05579, allocations: 1.676 MB / 413.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.0558, allocations: 0 / 413.7 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.05624, allocations: 203.7 kB / 413.9 MB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.15e-05/0.05632, allocations: 27.67 kB / 413.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.05637, allocations: 27.98 kB / 414 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/0.05637, allocations: 4 kB / 414 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.05638, allocations: 4 kB / 414 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.05807, allocations: 1.42 MB / 415.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.05822, allocations: 63.48 kB / 415.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/0.05831, allocations: 27.88 kB / 415.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.05866, allocations: 39.97 kB / 415.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.05878, allocations: 83.73 kB / 415.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.05881, allocations: 23.98 kB / 415.6 MB, free: 12.24 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000194/0.05901, allocations: 275 kB / 415.9 MB, free: 11.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.05901, allocations: 4 kB / 415.9 MB, free: 11.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001044/0.06005, allocations: 303.2 kB / 416.2 MB, free: 11.67 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.0003305/0.06038, allocations: 155 kB / 416.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008991/0.06128, allocations: 0.5076 MB / 416.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.06128, allocations: 0 / 416.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.06162, allocations: 274.3 kB / 417.1 MB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.06231, allocations: 118.9 kB / 417.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.06469, allocations: 1.542 MB / 418.8 MB, free: 9.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.06484, allocations: 173.8 kB / 418.9 MB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.0652, allocations: 125.5 kB / 419.1 MB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/0.06555, allocations: 234.1 kB / 419.3 MB, free: 8.465 MB / 394.7 MB Notification: Performance of SimCode: time 4.618e-06/0.06555, allocations: 0 / 419.3 MB, free: 8.465 MB / 394.7 MB Notification: Performance of Templates: time 0.01687/0.08242, allocations: 10.49 MB / 429.8 MB, free: 14.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.8039581943303347]