Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.002248/0.002248, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002834/0.002834, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2026/0.2026, allocations: 38.55 MB / 352.5 MB, free: 12.42 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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [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.002046/0.002046, allocations: 71.88 kB / 493 MB, free: 4.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3921, allocations: 62.47 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.007223/0.3993, allocations: 4.31 MB / 0.5466 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003698/0.403, allocations: 1.462 MB / 0.5481 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.4033, allocations: 19.53 kB / 0.5481 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.4044, allocations: 291.1 kB / 0.5484 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006986/0.4051, allocations: 284.5 kB / 0.5486 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007705/0.4058, allocations: 250.1 kB / 0.5489 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007616/0.4066, allocations: 0.6071 MB / 0.5495 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.407, allocations: 205 kB / 0.5497 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005512/0.4076, allocations: 281.5 kB / 0.5499 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006834/0.4082, allocations: 386.6 kB / 0.5503 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.755e-05/0.4083, allocations: 38.56 kB / 0.5503 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006002/0.4089, allocations: 229.3 kB / 0.5506 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.4092, allocations: 228.8 kB / 0.5508 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.4095, allocations: 219 kB / 0.551 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009685/0.4105, allocations: 0.6875 MB / 0.5517 GB, free: 9.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4105, allocations: 0 / 0.5517 GB, free: 9.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4105, allocations: 1.219 kB / 0.5517 GB, free: 9.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.4105, allocations: 0 / 0.5517 GB, free: 9.699 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001619/0.4121, allocations: 0.7058 MB / 0.5523 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4122, allocations: 13.55 kB / 0.5524 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008819/0.4131, allocations: 136.6 kB / 0.5525 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000832/0.4139, allocations: 356.7 kB / 0.5528 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.4139, allocations: 28.61 kB / 0.5529 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.4141, allocations: 52.62 kB / 0.5529 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.4154, allocations: 0.6928 MB / 0.5536 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.4154, allocations: 1.344 kB / 0.5536 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/0.4155, allocations: 15.7 kB / 0.5536 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002229/0.4157, allocations: 71.36 kB / 0.5537 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.4168, allocations: 0.6657 MB / 0.5543 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.4206, allocations: 2.395 MB / 0.5567 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.4211, allocations: 301.2 kB / 0.5569 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.4214, allocations: 193.7 kB / 0.5571 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.4214, allocations: 7.938 kB / 0.5571 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.4215, allocations: 38.5 kB / 0.5572 GB, free: 4.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.184e-06/0.4215, allocations: 0 / 0.5572 GB, free: 4.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002262/0.4237, allocations: 1.234 MB / 0.5584 GB, free: 3.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.4238, allocations: 85.09 kB / 0.5585 GB, free: 3.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.4241, allocations: 276.2 kB / 0.5587 GB, free: 3.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.4242, allocations: 33.7 kB / 0.5587 GB, free: 3.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.4244, allocations: 260.1 kB / 0.559 GB, free: 2.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.4245, allocations: 142.8 kB / 0.5591 GB, free: 2.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.4247, allocations: 90.06 kB / 0.5592 GB, free: 2.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4248, allocations: 346.8 kB / 0.5596 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.4251, allocations: 192.8 kB / 0.5597 GB, free: 2.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.4256, allocations: 327 kB / 0.56 GB, free: 1.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007902/0.4264, allocations: 0.5507 MB / 0.5606 GB, free: 1.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.4264, allocations: 7.938 kB / 0.5606 GB, free: 1.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001338/0.4277, allocations: 0.6782 MB / 0.5613 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.4277, allocations: 8 kB / 0.5613 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008978/0.4286, allocations: 483.5 kB / 0.5617 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004498/0.4291, allocations: 109.6 kB / 0.5618 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.4294, allocations: 83.89 kB / 0.5619 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.4325, allocations: 3.014 MB / 0.5649 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.4328, allocations: 23.97 kB / 0.5649 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.4328, allocations: 20 kB / 0.5649 GB, free: 12.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003114/0.4331, allocations: 225.6 kB / 0.5651 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/0.4332, allocations: 35.77 kB / 0.5651 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008014/0.434, allocations: 464.6 kB / 0.5656 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.434, allocations: 12 kB / 0.5656 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.434, allocations: 0 / 0.5656 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.434, allocations: 3.984 kB / 0.5656 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.4355, allocations: 0.8862 MB / 0.5665 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4355, allocations: 4.062 kB / 0.5665 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.4359, allocations: 67.89 kB / 0.5665 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4359, allocations: 3.984 kB / 0.5665 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.4359, allocations: 8 kB / 0.5665 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.4359, allocations: 4 kB / 0.5665 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4359, allocations: 3.938 kB / 0.5666 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.437, allocations: 0.748 MB / 0.5673 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.4372, allocations: 59.78 kB / 0.5673 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.4372, allocations: 11.98 kB / 0.5674 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.4374, allocations: 19.98 kB / 0.5674 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.4375, allocations: 19.91 kB / 0.5674 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.4375, allocations: 12 kB / 0.5674 GB, free: 9.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.4377, allocations: 199 kB / 0.5676 GB, free: 9.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4377, allocations: 3.938 kB / 0.5676 GB, free: 9.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005435/0.4382, allocations: 111.9 kB / 0.5677 GB, free: 9.547 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002628/0.4385, allocations: 135.1 kB / 0.5678 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.4396, allocations: 0.6774 MB / 0.5685 GB, free: 8.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4396, allocations: 0 / 0.5685 GB, free: 8.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.4399, allocations: 197.4 kB / 0.5687 GB, free: 8.508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.4404, allocations: 72.36 kB / 0.5687 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.4423, allocations: 1.126 MB / 0.5698 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.4426, allocations: 269.8 kB / 0.5701 GB, free: 7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002849/0.4429, allocations: 107.2 kB / 0.5702 GB, free: 6.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.443, allocations: 27.44 kB / 0.5702 GB, free: 6.863 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.443, allocations: 0 / 0.5702 GB, free: 6.863 MB / 414.1 MB Notification: Performance of Templates: time 0.01059/0.4536, allocations: 4.769 MB / 0.5749 GB, free: 2.145 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.7122039794921875]