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.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.001526/0.001526, allocations: 114.9 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.001547/0.001547, allocations: 190 kB / 22.21 MB, free: 112 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.442/1.442, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.186/0.186, allocations: 38.52 MB / 344.5 MB, free: 2.578 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.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: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 64.08 kB / 482.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3714, allocations: 61.25 MB / 0.5306 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005436/0.3769, allocations: 4.52 MB / 0.535 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.3791, allocations: 1.552 MB / 0.5365 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.3792, allocations: 12.28 kB / 0.5365 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008371/0.3801, allocations: 289.2 kB / 0.5368 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.3806, allocations: 284.5 kB / 0.5371 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.3812, allocations: 256.2 kB / 0.5373 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005886/0.3818, allocations: 0.6071 MB / 0.5379 GB, free: 284 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.3821, allocations: 159 kB / 0.538 GB, free: 180 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.3824, allocations: 272.3 kB / 0.5383 GB, free: 24 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.383, allocations: 398.1 kB / 0.5387 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.536e-05/0.3831, allocations: 42.75 kB / 0.5387 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004693/0.3835, allocations: 236.1 kB / 0.5389 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.3838, allocations: 232.1 kB / 0.5392 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.3841, allocations: 259.2 kB / 0.5394 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008905/0.385, allocations: 0.6646 MB / 0.5401 GB, free: 14.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.385, allocations: 0 / 0.5401 GB, free: 14.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.385, allocations: 0 / 0.5401 GB, free: 14.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.385, allocations: 3.938 kB / 0.5401 GB, free: 14.94 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.001567/0.3866, allocations: 0.7905 MB / 0.5408 GB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3866, allocations: 14.02 kB / 0.5409 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006243/0.3872, allocations: 89.52 kB / 0.5409 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007438/0.388, allocations: 429.6 kB / 0.5414 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.388, allocations: 30.77 kB / 0.5414 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.3882, allocations: 50.11 kB / 0.5414 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.3893, allocations: 0.7004 MB / 0.5421 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.3893, allocations: 3.906 kB / 0.5421 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.3894, allocations: 11.97 kB / 0.5421 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002109/0.3896, allocations: 68.94 kB / 0.5422 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.3907, allocations: 0.665 MB / 0.5428 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003801/0.3945, allocations: 2.661 MB / 0.5454 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.395, allocations: 292.3 kB / 0.5457 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.3954, allocations: 202.6 kB / 0.5459 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.3954, allocations: 8.078 kB / 0.5459 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3954, allocations: 36.69 kB / 0.546 GB, free: 10.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 1.993e-06/0.3954, allocations: 0 / 0.546 GB, free: 10.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002309/0.3977, allocations: 1.296 MB / 0.5472 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.3978, allocations: 91.91 kB / 0.5473 GB, free: 9.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.3981, allocations: 287.6 kB / 0.5476 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.3982, allocations: 35.12 kB / 0.5476 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.3984, allocations: 260.6 kB / 0.5479 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.3985, allocations: 140.4 kB / 0.548 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.3986, allocations: 85.92 kB / 0.5481 GB, free: 9.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3988, allocations: 352.5 kB / 0.5484 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.3991, allocations: 187.8 kB / 0.5486 GB, free: 8.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.3995, allocations: 325.2 kB / 0.5489 GB, free: 8.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.4003, allocations: 0.5562 MB / 0.5494 GB, free: 7.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4003, allocations: 1.969 kB / 0.5495 GB, free: 7.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001305/0.4016, allocations: 0.6781 MB / 0.5501 GB, free: 7.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.4016, allocations: 7.156 kB / 0.5501 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009196/0.4026, allocations: 490 kB / 0.5506 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/0.403, allocations: 119 kB / 0.5507 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.4033, allocations: 80.92 kB / 0.5508 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/0.4074, allocations: 3.263 MB / 0.554 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.4077, allocations: 31.8 kB / 0.554 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.4078, allocations: 23.98 kB / 0.554 GB, free: 3.777 MB / 398.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.0004009/0.4082, allocations: 201.8 kB / 0.5542 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.4083, allocations: 35.77 kB / 0.5542 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008665/0.4092, allocations: 468.9 kB / 0.5547 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.4092, allocations: 15.98 kB / 0.5547 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.4092, allocations: 0 / 0.5547 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4092, allocations: 3.938 kB / 0.5547 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.4108, allocations: 1.019 MB / 0.5557 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4108, allocations: 4 kB / 0.5557 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.4111, allocations: 63.89 kB / 0.5558 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.4112, allocations: 7.938 kB / 0.5558 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.4112, allocations: 11.94 kB / 0.5558 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4112, allocations: 0 / 0.5558 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4112, allocations: 0 / 0.5558 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4122, allocations: 0.7594 MB / 0.5565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.4124, allocations: 140.9 kB / 0.5567 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.4124, allocations: 11.94 kB / 0.5567 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.4126, allocations: 27.94 kB / 0.5567 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.4127, allocations: 11.98 kB / 0.5567 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.4127, allocations: 12 kB / 0.5567 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002335/0.4129, allocations: 211.1 kB / 0.5569 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4129, allocations: 3.938 kB / 0.5569 GB, free: 0.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005591/0.4135, allocations: 108 kB / 0.557 GB, free: 0.5625 MB / 398.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.0002877/0.4138, allocations: 135.1 kB / 0.5572 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.4149, allocations: 0.6781 MB / 0.5578 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4149, allocations: 4 kB / 0.5578 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.4152, allocations: 188.8 kB / 0.558 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.4157, allocations: 73.48 kB / 0.5581 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.4176, allocations: 1.125 MB / 0.5592 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.4182, allocations: 0.8824 MB / 0.56 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000267/0.4184, allocations: 103.2 kB / 0.5601 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.498e-05/0.4185, allocations: 31.44 kB / 0.5602 GB, free: 13.26 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4185, allocations: 0 / 0.5602 GB, free: 13.26 MB / 414.1 MB Notification: Performance of Templates: time 0.009904/0.4284, allocations: 4.569 MB / 0.5646 GB, free: 8.711 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.077272244729102]