Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001798/0.001798, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002084/0.002084, allocations: 212.4 kB / 23.73 MB, free: 4.387 MB / 14.72 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.584/1.584, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1834/0.1834, allocations: 38.56 MB / 352.5 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=740,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 74.39 kB / 493 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3966, allocations: 62.46 MB / 0.5424 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006775/0.4033, allocations: 4 MB / 0.5463 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.4055, allocations: 0.8761 MB / 0.5472 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002141/0.4057, allocations: 19.22 kB / 0.5472 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.406, allocations: 52.5 kB / 0.5473 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.4066, allocations: 182.8 kB / 0.5474 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.4068, allocations: 91.83 kB / 0.5475 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000509/0.4073, allocations: 394.4 kB / 0.5479 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.4076, allocations: 79.36 kB / 0.548 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.408, allocations: 191.8 kB / 0.5482 GB, free: 12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/0.4084, allocations: 183.3 kB / 0.5483 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.4084, allocations: 18.91 kB / 0.5484 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.918e-05/0.4085, allocations: 19.84 kB / 0.5484 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.4086, allocations: 92.22 kB / 0.5485 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.4088, allocations: 116.1 kB / 0.5486 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.4092, allocations: 296.1 kB / 0.5489 GB, free: 11.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4092, allocations: 3.938 kB / 0.5489 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4092, allocations: 4 kB / 0.5489 GB, free: 11.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.4092, allocations: 1.438 kB / 0.5489 GB, free: 11.57 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001078/0.4103, allocations: 0.5158 MB / 0.5494 GB, free: 11.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4103, allocations: 17.05 kB / 0.5494 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.4104, allocations: 32.31 kB / 0.5494 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.411, allocations: 279.1 kB / 0.5497 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.411, allocations: 21.47 kB / 0.5497 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.4111, allocations: 21.86 kB / 0.5497 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.4117, allocations: 303.9 kB / 0.55 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4117, allocations: 1.5 kB / 0.55 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.4117, allocations: 5.5 kB / 0.55 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.4117, allocations: 6.688 kB / 0.55 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.412, allocations: 180.5 kB / 0.5502 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.4136, allocations: 1.113 MB / 0.5513 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.414, allocations: 106.1 kB / 0.5514 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.4141, allocations: 38.42 kB / 0.5514 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.4141, allocations: 5.984 kB / 0.5514 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.4141, allocations: 36.97 kB / 0.5515 GB, free: 9.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.4142, allocations: 0 / 0.5515 GB, free: 9.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009472/0.4151, allocations: 417.3 kB / 0.5519 GB, free: 9.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.4152, allocations: 78.14 kB / 0.5519 GB, free: 8.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.4154, allocations: 252.8 kB / 0.5522 GB, free: 8.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.4155, allocations: 26.64 kB / 0.5522 GB, free: 8.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.4156, allocations: 208.7 kB / 0.5524 GB, free: 8.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.4157, allocations: 45.53 kB / 0.5524 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-05/0.4158, allocations: 40.89 kB / 0.5525 GB, free: 8.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4159, allocations: 340.2 kB / 0.5528 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.416, allocations: 30.86 kB / 0.5528 GB, free: 8.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.4162, allocations: 134.9 kB / 0.553 GB, free: 7.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.4164, allocations: 188.1 kB / 0.5531 GB, free: 7.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4164, allocations: 0 / 0.5531 GB, free: 7.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004277/0.4168, allocations: 218.3 kB / 0.5534 GB, free: 7.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.4169, allocations: 6.938 kB / 0.5534 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4169, allocations: 2.438 kB / 0.5534 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/0.4169, allocations: 4.969 kB / 0.5534 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.4171, allocations: 47.2 kB / 0.5534 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.4171, allocations: 12.41 kB / 0.5534 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.4172, allocations: 8.469 kB / 0.5534 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.4173, allocations: 8.969 kB / 0.5534 GB, free: 7.652 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.4175, allocations: 155.8 kB / 0.5536 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.4175, allocations: 22.02 kB / 0.5536 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.4178, allocations: 139.3 kB / 0.5537 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4178, allocations: 1.156 kB / 0.5537 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4179, allocations: 1.125 kB / 0.5537 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4179, allocations: 3.984 kB / 0.5537 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.4185, allocations: 404 kB / 0.5541 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4186, allocations: 1.219 kB / 0.5541 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.4187, allocations: 22.67 kB / 0.5542 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4187, allocations: 1.094 kB / 0.5542 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4187, allocations: 6.219 kB / 0.5542 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4187, allocations: 1.281 kB / 0.5542 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.4187, allocations: 9.125 kB / 0.5542 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.4191, allocations: 287.4 kB / 0.5544 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.4192, allocations: 21.83 kB / 0.5545 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.4192, allocations: 6.469 kB / 0.5545 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4193, allocations: 9.062 kB / 0.5545 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.4194, allocations: 15.88 kB / 0.5545 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.4194, allocations: 3.281 kB / 0.5545 GB, free: 6.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.4196, allocations: 173.4 kB / 0.5547 GB, free: 6.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4196, allocations: 1.094 kB / 0.5547 GB, free: 6.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003451/0.4199, allocations: 43.84 kB / 0.5547 GB, free: 6.633 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.42, allocations: 96.47 kB / 0.5548 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.4203, allocations: 113.1 kB / 0.5549 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4203, allocations: 0 / 0.5549 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.4204, allocations: 43.58 kB / 0.555 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.4209, allocations: 58.34 kB / 0.555 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4219, allocations: 0.5515 MB / 0.5555 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.4221, allocations: 163.5 kB / 0.5557 GB, free: 5.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.4222, allocations: 32.92 kB / 0.5557 GB, free: 5.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.4223, allocations: 19.97 kB / 0.5558 GB, free: 5.91 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4223, allocations: 0 / 0.5558 GB, free: 5.91 MB / 398.1 MB Notification: Performance of Templates: time 0.006901/0.4292, allocations: 2.4 MB / 0.5581 GB, free: 3.688 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.4746593702584505]