Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 184.5 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1765/0.1765, allocations: 38.53 MB / 344.5 MB, free: 2.605 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 75.88 kB / 482.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3959, allocations: 61.24 MB / 0.5306 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005088/0.401, allocations: 4.454 MB / 0.5349 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.4024, allocations: 0.9471 MB / 0.5358 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.4026, allocations: 16.19 kB / 0.5359 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.4028, allocations: 53.12 kB / 0.5359 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005474/0.4033, allocations: 247 kB / 0.5361 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.4035, allocations: 103 kB / 0.5362 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.404, allocations: 0.4913 MB / 0.5367 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.4042, allocations: 98.17 kB / 0.5368 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003724/0.4046, allocations: 228.6 kB / 0.537 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.405, allocations: 283.1 kB / 0.5373 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.405, allocations: 23.19 kB / 0.5373 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.4051, allocations: 24.28 kB / 0.5374 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.4052, allocations: 155.8 kB / 0.5375 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.4054, allocations: 171.6 kB / 0.5377 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.4057, allocations: 374.4 kB / 0.538 GB, free: 428 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4057, allocations: 4 kB / 0.538 GB, free: 424 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4057, allocations: 0 / 0.538 GB, free: 424 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4057, allocations: 0 / 0.538 GB, free: 424 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001042/0.4068, allocations: 0.6641 MB / 0.5387 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4068, allocations: 12.92 kB / 0.5387 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.157e-05/0.4069, allocations: 50.8 kB / 0.5387 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/0.4077, allocations: 379.9 kB / 0.5391 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.4078, allocations: 23.38 kB / 0.5391 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/0.4079, allocations: 28.77 kB / 0.5391 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.4087, allocations: 353.8 kB / 0.5395 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.4087, allocations: 0 / 0.5395 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.4088, allocations: 11.19 kB / 0.5395 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/0.4089, allocations: 34.56 kB / 0.5395 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006159/0.4096, allocations: 234.5 kB / 0.5398 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.4121, allocations: 1.366 MB / 0.5411 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.4127, allocations: 169.6 kB / 0.5412 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.4129, allocations: 89.67 kB / 0.5413 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.413, allocations: 5.109 kB / 0.5413 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.413, allocations: 48.66 kB / 0.5414 GB, free: 13.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.933e-06/0.413, allocations: 0 / 0.5414 GB, free: 13.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002096/0.4151, allocations: 0.7608 MB / 0.5421 GB, free: 13.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.389e-05/0.4152, allocations: 83.27 kB / 0.5422 GB, free: 12.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/0.4157, allocations: 300.1 kB / 0.5425 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.4157, allocations: 34.8 kB / 0.5425 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.416, allocations: 220.2 kB / 0.5427 GB, free: 12.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.4161, allocations: 54.31 kB / 0.5428 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.4162, allocations: 52.44 kB / 0.5428 GB, free: 12.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002677/0.4165, allocations: 338.2 kB / 0.5432 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.4166, allocations: 64.08 kB / 0.5432 GB, free: 12.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.4169, allocations: 175.7 kB / 0.5434 GB, free: 11.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.4175, allocations: 261.4 kB / 0.5436 GB, free: 11.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4175, allocations: 0 / 0.5436 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008371/0.4183, allocations: 316.5 kB / 0.5439 GB, free: 11.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.4183, allocations: 10.75 kB / 0.544 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.4183, allocations: 3.469 kB / 0.544 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/0.4187, allocations: 53.86 kB / 0.544 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.419, allocations: 49.16 kB / 0.5441 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.4214, allocations: 1.605 MB / 0.5456 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.4218, allocations: 9.25 kB / 0.5456 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.4218, allocations: 13.62 kB / 0.5456 GB, free: 9.906 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003409/0.4221, allocations: 174.8 kB / 0.5458 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.4222, allocations: 28.38 kB / 0.5458 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000678/0.4229, allocations: 241.8 kB / 0.5461 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.4229, allocations: 2.312 kB / 0.5461 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.4229, allocations: 5.219 kB / 0.5461 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4229, allocations: 1.219 kB / 0.5461 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.4244, allocations: 0.6362 MB / 0.5467 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.4244, allocations: 5.266 kB / 0.5467 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.4246, allocations: 26.22 kB / 0.5467 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003222/0.4249, allocations: 60.8 kB / 0.5468 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.4249, allocations: 7.312 kB / 0.5468 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.4271, allocations: 1.603 MB / 0.5484 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4271, allocations: 4.156 kB / 0.5484 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008858/0.428, allocations: 409.4 kB / 0.5488 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.4281, allocations: 106.1 kB / 0.5489 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.4282, allocations: 7.375 kB / 0.5489 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.4284, allocations: 6.266 kB / 0.5489 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.4285, allocations: 21.58 kB / 0.5489 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.4285, allocations: 4.312 kB / 0.5489 GB, free: 7.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003561/0.4289, allocations: 208.7 kB / 0.5491 GB, free: 6.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4289, allocations: 0 / 0.5491 GB, free: 6.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007254/0.4296, allocations: 69.38 kB / 0.5492 GB, free: 6.895 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.4298, allocations: 102.6 kB / 0.5493 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009173/0.4307, allocations: 303.5 kB / 0.5495 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4307, allocations: 0 / 0.5495 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005307/0.4312, allocations: 207.1 kB / 0.5497 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008241/0.432, allocations: 77.25 kB / 0.5498 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.434, allocations: 0.7359 MB / 0.5505 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007513/0.4347, allocations: 0.8125 MB / 0.5513 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.4349, allocations: 45.73 kB / 0.5514 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.45e-05/0.435, allocations: 21.34 kB / 0.5514 GB, free: 5.105 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.435, allocations: 0 / 0.5514 GB, free: 5.105 MB / 398.1 MB Notification: Performance of Templates: time 0.01117/0.4462, allocations: 3.082 MB / 0.5544 GB, free: 3.328 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.064713086001575]