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.001825/0.001825, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002538/0.002538, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.633/1.633, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.287/0.287, allocations: 29.41 MB / 290.5 MB, free: 2.43 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.338e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.007662/0.007696, allocations: 4.319 MB / 373.2 MB, free: 6.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.01075, allocations: 1.464 MB / 374.7 MB, free: 5.488 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.01098, allocations: 19.81 kB / 374.7 MB, free: 5.469 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.01205, allocations: 278.6 kB / 375 MB, free: 5.195 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007075/0.01276, allocations: 306.2 kB / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.0135, allocations: 263.1 kB / 375.5 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007672/0.01426, allocations: 0.6233 MB / 376.1 MB, free: 4.012 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.01464, allocations: 192 kB / 376.3 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005914/0.01523, allocations: 362.9 kB / 376.7 MB, free: 3.469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005599/0.01579, allocations: 355.2 kB / 377 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.139e-05/0.01586, allocations: 36 kB / 377.1 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.01636, allocations: 243.4 kB / 377.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.01663, allocations: 243.4 kB / 377.5 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.01687, allocations: 171.6 kB / 377.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000957/0.01783, allocations: 0.7049 MB / 378.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.01784, allocations: 4 kB / 378.4 MB, free: 1.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01784, allocations: 0 / 378.4 MB, free: 1.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.01785, allocations: 0 / 378.4 MB, free: 1.73 MB / 346.7 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.001595/0.01944, allocations: 0.7056 MB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.01948, allocations: 11.98 kB / 379.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009227/0.02041, allocations: 180.4 kB / 379.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/0.02114, allocations: 379.8 kB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.02117, allocations: 29.38 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.02132, allocations: 40.73 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.02274, allocations: 0.6994 MB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.02276, allocations: 0 / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.02281, allocations: 15.98 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002523/0.02307, allocations: 68.94 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.02419, allocations: 0.6713 MB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003877/0.02806, allocations: 2.428 MB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.02857, allocations: 285.3 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.0289, allocations: 189.7 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.02894, allocations: 15.98 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.02899, allocations: 38.5 kB / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.073e-06/0.029, allocations: 3.938 kB / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.002331/0.03133, allocations: 1.253 MB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.0314, allocations: 81.11 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.03174, allocations: 284.1 kB / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.03178, allocations: 29.7 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.03201, allocations: 260.1 kB / 386 MB, free: 9.781 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.03215, allocations: 142.8 kB / 386.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.0323, allocations: 90.14 kB / 386.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.03251, allocations: 342.8 kB / 386.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.03283, allocations: 188.9 kB / 386.8 MB, free: 9.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/0.03329, allocations: 325.1 kB / 387.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.03439, allocations: 0.5469 MB / 387.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.03439, allocations: 0 / 387.7 MB, free: 8.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001458/0.03585, allocations: 0.7091 MB / 388.4 MB, free: 7.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.03587, allocations: 8 kB / 388.4 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009632/0.03683, allocations: 487.4 kB / 388.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/0.0374, allocations: 134.1 kB / 389 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.03774, allocations: 79.88 kB / 389.1 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00346/0.0412, allocations: 3.017 MB / 392.1 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.04144, allocations: 23.98 kB / 392.1 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.04149, allocations: 16 kB / 392.1 MB, free: 3.344 MB / 362.7 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.0002989/0.04179, allocations: 209.7 kB / 392.3 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.04191, allocations: 51.75 kB / 392.4 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008547/0.04277, allocations: 480.5 kB / 392.8 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.0428, allocations: 15.98 kB / 392.9 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.0428, allocations: 0 / 392.9 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.0428, allocations: 0 / 392.9 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.04436, allocations: 0.9015 MB / 393.8 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.04437, allocations: 3.938 kB / 393.8 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.04475, allocations: 63.89 kB / 393.8 MB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.04476, allocations: 4 kB / 393.8 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.04479, allocations: 12.06 kB / 393.8 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.04479, allocations: 0 / 393.8 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.04479, allocations: 4 kB / 393.8 MB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.04621, allocations: 0.7591 MB / 394.6 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.04635, allocations: 63.78 kB / 394.7 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.04639, allocations: 4 kB / 394.7 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.0466, allocations: 19.98 kB / 394.7 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.04666, allocations: 27.94 kB / 394.7 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.04669, allocations: 8.234 kB / 394.7 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002259/0.04692, allocations: 195.1 kB / 394.9 MB, free: 464 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.04692, allocations: 4 kB / 394.9 MB, free: 460 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005108/0.04743, allocations: 111.9 kB / 395 MB, free: 348 kB / 362.7 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.0002937/0.04772, allocations: 143.1 kB / 395.2 MB, free: 196 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.04894, allocations: 0.6871 MB / 395.8 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.04894, allocations: 0 / 395.8 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.04926, allocations: 192.7 kB / 396 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.04979, allocations: 71.12 kB / 396.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.0516, allocations: 1.051 MB / 397.2 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.05194, allocations: 269.5 kB / 397.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.0522, allocations: 99.19 kB / 397.5 MB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.0523, allocations: 32.5 kB / 397.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0523, allocations: 0 / 397.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01032/0.06262, allocations: 4.255 MB / 401.8 MB, free: 9.531 MB / 378.7 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.06608692696318]