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.001264/0.001264, allocations: 82.17 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001396/0.001396, allocations: 160.5 kB / 24.5 MB, free: 3.719 MB / 14.72 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.461/1.461, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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.218/0.218, allocations: 34.26 MB / 295.4 MB, free: 14.5 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002507/0.002507, allocations: 83.81 kB / 443.1 MB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3349, allocations: 66.06 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.005496/0.3404, allocations: 5.793 MB / 0.5029 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.3439, allocations: 2.127 MB / 0.505 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.3442, allocations: 19.16 kB / 0.505 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003059/0.3473, allocations: 1.494 MB / 0.5065 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.3495, allocations: 0.703 MB / 0.5072 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.3508, allocations: 0.5729 MB / 0.5077 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.352, allocations: 1.176 MB / 0.5089 GB, free: 22.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.3531, allocations: 0.846 MB / 0.5097 GB, free: 21.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/0.3536, allocations: 0.516 MB / 0.5102 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000558/0.3542, allocations: 0.5398 MB / 0.5107 GB, free: 21.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.3543, allocations: 108.8 kB / 0.5108 GB, free: 21.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005516/0.3549, allocations: 285.6 kB / 0.5111 GB, free: 21.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.355, allocations: 261.9 kB / 0.5114 GB, free: 20.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003151/0.3553, allocations: 462.7 kB / 0.5118 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.3568, allocations: 1.529 MB / 0.5133 GB, free: 20.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3568, allocations: 0.6094 kB / 0.5133 GB, free: 20.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3568, allocations: 1.312 kB / 0.5133 GB, free: 20.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.3568, allocations: 4 kB / 0.5133 GB, free: 20.09 MB / 446.1 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.004474/0.3613, allocations: 1.611 MB / 0.5149 GB, free: 19.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3613, allocations: 11 kB / 0.5149 GB, free: 19.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008603/0.3699, allocations: 1.121 MB / 0.516 GB, free: 19.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.3714, allocations: 489.9 kB / 0.5164 GB, free: 18.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.953e-05/0.3715, allocations: 89.72 kB / 0.5165 GB, free: 18.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.3717, allocations: 116.5 kB / 0.5166 GB, free: 18.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.3744, allocations: 1.45 MB / 0.5181 GB, free: 17.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.3745, allocations: 6.047 kB / 0.5181 GB, free: 17.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3746, allocations: 45.78 kB / 0.5181 GB, free: 17.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.3746, allocations: 37.23 kB / 0.5181 GB, free: 17.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003754/0.3784, allocations: 1.415 MB / 0.5195 GB, free: 17.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008003/0.3864, allocations: 3.528 MB / 0.523 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.3893, allocations: 1.005 MB / 0.5239 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/0.3902, allocations: 386.6 kB / 0.5243 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.3903, allocations: 25.75 kB / 0.5243 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3903, allocations: 51.61 kB / 0.5244 GB, free: 14.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.306e-06/0.3903, allocations: 0 / 0.5244 GB, free: 14.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.003282/0.3936, allocations: 1.165 MB / 0.5255 GB, free: 14.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.3937, allocations: 242.6 kB / 0.5258 GB, free: 13.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.3942, allocations: 446.4 kB / 0.5262 GB, free: 13.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.3943, allocations: 42.11 kB / 0.5262 GB, free: 13.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.3945, allocations: 490.6 kB / 0.5267 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.3947, allocations: 303.7 kB / 0.527 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/0.395, allocations: 202.1 kB / 0.5272 GB, free: 12.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.3951, allocations: 369.5 kB / 0.5275 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009052/0.396, allocations: 380.5 kB / 0.5279 GB, free: 12.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.3971, allocations: 0.7165 MB / 0.5286 GB, free: 11.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.399, allocations: 1.054 MB / 0.5296 GB, free: 11.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.399, allocations: 6.219 kB / 0.5296 GB, free: 11.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002687/0.4017, allocations: 1.185 MB / 0.5308 GB, free: 10.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.4017, allocations: 8.562 kB / 0.5308 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.4017, allocations: 9.219 kB / 0.5308 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.4019, allocations: 39.02 kB / 0.5308 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.4032, allocations: 293.7 kB / 0.5311 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.57e-05/0.4032, allocations: 19.92 kB / 0.5311 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009503/0.4041, allocations: 139.5 kB / 0.5313 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.17e-05/0.4042, allocations: 50.7 kB / 0.5313 GB, free: 10.5 MB / 446.1 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.0004115/0.4047, allocations: 252.3 kB / 0.5316 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.4049, allocations: 65.22 kB / 0.5316 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.4073, allocations: 1.017 MB / 0.5326 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.4073, allocations: 15.45 kB / 0.5326 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4073, allocations: 9.375 kB / 0.5326 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.4074, allocations: 6.203 kB / 0.5326 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003871/0.4112, allocations: 1.999 MB / 0.5346 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.4112, allocations: 1.094 kB / 0.5346 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.4123, allocations: 218.9 kB / 0.5348 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.4124, allocations: 26.3 kB / 0.5348 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/0.4124, allocations: 33.2 kB / 0.5349 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.4124, allocations: 4.562 kB / 0.5349 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.4124, allocations: 2.375 kB / 0.5349 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003339/0.4158, allocations: 1.824 MB / 0.5367 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.416, allocations: 66.34 kB / 0.5367 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.4161, allocations: 18 kB / 0.5367 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008534/0.4169, allocations: 69.45 kB / 0.5368 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.4171, allocations: 73.17 kB / 0.5369 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/0.4172, allocations: 31.16 kB / 0.5369 GB, free: 7.609 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003729/0.4176, allocations: 302.2 kB / 0.5372 GB, free: 7.457 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4176, allocations: 0 / 0.5372 GB, free: 7.457 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001349/0.4189, allocations: 307.2 kB / 0.5375 GB, free: 7.371 MB / 446.1 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.0002872/0.4192, allocations: 154 kB / 0.5376 GB, free: 7.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.4217, allocations: 0.9176 MB / 0.5385 GB, free: 6.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4218, allocations: 0 / 0.5385 GB, free: 6.949 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.4228, allocations: 446 kB / 0.5389 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000997/0.4238, allocations: 91.42 kB / 0.539 GB, free: 6.762 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.4269, allocations: 1.734 MB / 0.5407 GB, free: 5.734 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.4274, allocations: 398.8 kB / 0.5411 GB, free: 5.602 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005333/0.428, allocations: 125.4 kB / 0.5412 GB, free: 5.562 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.4282, allocations: 85.25 kB / 0.5413 GB, free: 5.543 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4282, allocations: 0 / 0.5413 GB, free: 5.543 MB / 446.1 MB Notification: Performance of Templates: time 0.01728/0.4455, allocations: 9.551 MB / 0.5506 GB, free: 14.15 MB / 462.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.555874046054669]