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.001355/0.001355, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001339/0.001339, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 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.477/1.477, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.1813/0.1813, allocations: 38.55 MB / 346.3 MB, free: 2.117 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.002018/0.002018, allocations: 68.03 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4116, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005232/0.4169, allocations: 4.478 MB / 0.5374 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.4182, allocations: 0.9576 MB / 0.5383 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.4184, allocations: 20.06 kB / 0.5384 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.4185, allocations: 60.83 kB / 0.5384 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.4189, allocations: 240.8 kB / 0.5387 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.4191, allocations: 98.3 kB / 0.5388 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.4196, allocations: 0.4952 MB / 0.5392 GB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.4198, allocations: 95.33 kB / 0.5393 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.4201, allocations: 231.4 kB / 0.5395 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003589/0.4204, allocations: 283.3 kB / 0.5398 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.4205, allocations: 22.56 kB / 0.5398 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.981e-05/0.4205, allocations: 24.81 kB / 0.5399 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.4207, allocations: 155.3 kB / 0.54 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.4208, allocations: 179.8 kB / 0.5402 GB, free: 460 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.4212, allocations: 370.1 kB / 0.5405 GB, free: 216 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4212, allocations: 0 / 0.5405 GB, free: 216 kB / 382.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.4212, allocations: 0 / 0.5405 GB, free: 216 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.4212, allocations: 0 / 0.5405 GB, free: 216 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.00107/0.4223, allocations: 0.5895 MB / 0.5411 GB, free: 15.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.482e-05/0.4223, allocations: 13.47 kB / 0.5411 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.4224, allocations: 46.69 kB / 0.5412 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/0.423, allocations: 309.6 kB / 0.5415 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.423, allocations: 26.88 kB / 0.5415 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.423, allocations: 33.56 kB / 0.5415 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.4236, allocations: 354 kB / 0.5419 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4236, allocations: 3.938 kB / 0.5419 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.4237, allocations: 10.69 kB / 0.5419 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.4238, allocations: 26.12 kB / 0.5419 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.4242, allocations: 239 kB / 0.5421 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.4259, allocations: 1.336 MB / 0.5434 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.4263, allocations: 157.6 kB / 0.5436 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.4265, allocations: 89.14 kB / 0.5437 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.4265, allocations: 6.531 kB / 0.5437 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.4265, allocations: 35.59 kB / 0.5437 GB, free: 13.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.4265, allocations: 4 kB / 0.5437 GB, free: 13.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.00129/0.4278, allocations: 0.6155 MB / 0.5443 GB, free: 13.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.4279, allocations: 91.38 kB / 0.5444 GB, free: 13.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.4282, allocations: 299.4 kB / 0.5447 GB, free: 12.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.4282, allocations: 31.05 kB / 0.5447 GB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.4284, allocations: 224 kB / 0.5449 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.4285, allocations: 50.53 kB / 0.545 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.025e-05/0.4285, allocations: 56.34 kB / 0.545 GB, free: 12.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000301/0.4288, allocations: 334.6 kB / 0.5453 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.429, allocations: 68.2 kB / 0.5454 GB, free: 12.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.4292, allocations: 175 kB / 0.5456 GB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.4295, allocations: 248.9 kB / 0.5458 GB, free: 11.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4295, allocations: 1.25 kB / 0.5458 GB, free: 11.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005304/0.43, allocations: 327.7 kB / 0.5461 GB, free: 11.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4301, allocations: 6.594 kB / 0.5461 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4301, allocations: 7.312 kB / 0.5461 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/0.4303, allocations: 49.52 kB / 0.5462 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.4305, allocations: 49.25 kB / 0.5462 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.432, allocations: 1.511 MB / 0.5477 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.4322, allocations: 13.81 kB / 0.5477 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.4322, allocations: 12.78 kB / 0.5477 GB, free: 10.22 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.0002075/0.4324, allocations: 166.3 kB / 0.5479 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.4325, allocations: 28.06 kB / 0.5479 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004567/0.433, allocations: 243.5 kB / 0.5482 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.433, allocations: 2.344 kB / 0.5482 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.433, allocations: 1.094 kB / 0.5482 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.433, allocations: 4 kB / 0.5482 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.434, allocations: 0.6117 MB / 0.5488 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.434, allocations: 5.75 kB / 0.5488 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.4341, allocations: 29.36 kB / 0.5488 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/0.4344, allocations: 53.27 kB / 0.5488 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.4344, allocations: 11.14 kB / 0.5489 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.4361, allocations: 1.496 MB / 0.5503 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.4361, allocations: 5.016 kB / 0.5503 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.4367, allocations: 406.5 kB / 0.5507 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.4368, allocations: 29 kB / 0.5507 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.4368, allocations: 10.75 kB / 0.5507 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.437, allocations: 6.422 kB / 0.5508 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.437, allocations: 13.92 kB / 0.5508 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.437, allocations: 3.094 kB / 0.5508 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002789/0.4373, allocations: 208.5 kB / 0.551 GB, free: 7.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4373, allocations: 0 / 0.551 GB, free: 7.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004606/0.4378, allocations: 70.38 kB / 0.551 GB, free: 7.492 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.0001616/0.4379, allocations: 101.4 kB / 0.5511 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006695/0.4386, allocations: 301.8 kB / 0.5514 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4386, allocations: 0 / 0.5514 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.439, allocations: 207.6 kB / 0.5516 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.4396, allocations: 77.55 kB / 0.5517 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.4411, allocations: 0.7356 MB / 0.5524 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.4417, allocations: 0.8172 MB / 0.5532 GB, free: 5.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.4419, allocations: 45.47 kB / 0.5533 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.4419, allocations: 20.91 kB / 0.5533 GB, free: 5.699 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4419, allocations: 1.062 kB / 0.5533 GB, free: 5.699 MB / 398.1 MB Notification: Performance of Templates: time 0.009062/0.451, allocations: 3.146 MB / 0.5563 GB, free: 3.48 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.268979157321155]