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.001112/0.001112, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001272/0.001272, allocations: 167.3 kB / 24.91 MB, free: 9.109 MB / 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.073/1.073, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.2496/0.2496, allocations: 29.42 MB / 291.2 MB, free: 2.387 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 316.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.902e-05, allocations: 3.625 kB / 316.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004838/0.004867, allocations: 4.156 MB / 321 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.007553, allocations: 1.539 MB / 322.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.007852, allocations: 15.88 kB / 322.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008037/0.008656, allocations: 246.7 kB / 322.8 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007583/0.009414, allocations: 278.4 kB / 323.1 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007851/0.0102, allocations: 267.2 kB / 323.3 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006006/0.0108, allocations: 0.6155 MB / 323.9 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003374/0.01114, allocations: 222.2 kB / 324.2 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006004/0.01174, allocations: 407 kB / 324.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.01214, allocations: 323.1 kB / 324.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.707e-05/0.0122, allocations: 40 kB / 324.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.01261, allocations: 235.5 kB / 325.1 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.01282, allocations: 247.4 kB / 325.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.01299, allocations: 171.6 kB / 325.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.01362, allocations: 0.5451 MB / 326.1 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.01363, allocations: 0 / 326.1 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01363, allocations: 0 / 326.1 MB, free: 6.676 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.01364, allocations: 0 / 326.1 MB, free: 6.676 MB / 298.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.0008662/0.0145, allocations: 0.6297 MB / 326.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.01454, allocations: 11.98 kB / 326.7 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005226/0.01506, allocations: 144.7 kB / 326.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.01549, allocations: 316.3 kB / 327.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.01551, allocations: 25.38 kB / 327.2 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.01562, allocations: 56.67 kB / 327.3 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.01605, allocations: 415 kB / 327.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.01607, allocations: 0 / 327.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.01609, allocations: 12 kB / 327.7 MB, free: 5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.01621, allocations: 64.95 kB / 327.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.01649, allocations: 229.5 kB / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.01832, allocations: 2 MB / 330 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.01864, allocations: 176.2 kB / 330.1 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.01871, allocations: 65.98 kB / 330.2 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.01874, allocations: 4.234 kB / 330.2 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.01876, allocations: 46.55 kB / 330.3 MB, free: 2.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 2.605e-06/0.01877, allocations: 4 kB / 330.3 MB, free: 2.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0008489/0.01962, allocations: 0.569 MB / 330.8 MB, free: 1.672 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.01965, allocations: 81.11 kB / 330.9 MB, free: 1.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.01981, allocations: 266.8 kB / 331.2 MB, free: 1.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.01983, allocations: 25.7 kB / 331.2 MB, free: 1.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/0.01993, allocations: 240.6 kB / 331.4 MB, free: 1.023 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.266e-05/0.02, allocations: 146.7 kB / 331.6 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.02008, allocations: 86.09 kB / 331.7 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.02017, allocations: 350.8 kB / 332 MB, free: 448 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.02024, allocations: 59.8 kB / 332.1 MB, free: 388 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.02038, allocations: 189.2 kB / 332.2 MB, free: 140 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.02063, allocations: 290.3 kB / 332.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.02063, allocations: 0 / 332.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004764/0.02111, allocations: 363 kB / 332.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.02112, allocations: 8.562 kB / 332.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000241/0.02136, allocations: 196.7 kB / 333.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/0.02163, allocations: 94.06 kB / 333.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.02178, allocations: 71.91 kB / 333.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.0235, allocations: 2.529 MB / 335.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.02362, allocations: 19.94 kB / 335.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.02365, allocations: 19.98 kB / 335.8 MB, free: 12.27 MB / 314.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.0001244/0.02377, allocations: 136.6 kB / 336 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.02384, allocations: 35.95 kB / 336 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.02408, allocations: 208.7 kB / 336.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.0241, allocations: 19.94 kB / 336.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.0241, allocations: 3.938 kB / 336.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.02411, allocations: 0 / 336.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.02467, allocations: 0.5484 MB / 336.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.02467, allocations: 4.062 kB / 336.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.02483, allocations: 55.91 kB / 336.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.02484, allocations: 4 kB / 336.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.02485, allocations: 11.94 kB / 336.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.02485, allocations: 0 / 336.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.02486, allocations: 7.984 kB / 336.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.02521, allocations: 412.6 kB / 337.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.02528, allocations: 43.8 kB / 337.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.02531, allocations: 11.88 kB / 337.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.02539, allocations: 12 kB / 337.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.02541, allocations: 23.91 kB / 337.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.02543, allocations: 4 kB / 337.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.496e-05/0.02549, allocations: 92.62 kB / 337.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02549, allocations: 0 / 337.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003036/0.0258, allocations: 115.9 kB / 337.5 MB, free: 10.46 MB / 314.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.0001993/0.026, allocations: 124.3 kB / 337.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004448/0.02644, allocations: 457.3 kB / 338.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.02645, allocations: 0 / 338.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/0.02654, allocations: 97.86 kB / 338.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.02682, allocations: 76.16 kB / 338.3 MB, free: 9.691 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.02808, allocations: 0.8726 MB / 339.2 MB, free: 8.773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.02818, allocations: 157 kB / 339.3 MB, free: 8.602 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.02829, allocations: 39.27 kB / 339.3 MB, free: 8.566 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.02843, allocations: 111.3 kB / 339.5 MB, free: 8.457 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02843, allocations: 4 kB / 339.5 MB, free: 8.453 MB / 314.7 MB Notification: Performance of Templates: time 0.007594/0.03602, allocations: 4.587 MB / 344 MB, free: 3.934 MB / 314.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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.200565612874925]