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.001141/0.001141, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001632/0.002773, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001181/0.001181, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002643, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9568/0.9568, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08908/1.046, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1369/0.1369, allocations: 29.44 MB / 273.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1327/0.2695, allocations: 9.529 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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 1.493e-06/1.493e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003e-05/1.152e-05, allocations: 4.797 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.003844/0.003855, allocations: 4.237 MB / 288.5 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.005622, allocations: 1.547 MB / 290 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.005762, allocations: 20.06 kB / 290 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.006209, allocations: 289.9 kB / 290.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004354/0.006644, allocations: 303.1 kB / 290.6 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.007122, allocations: 253.5 kB / 290.9 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.007635, allocations: 0.628 MB / 291.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.007876, allocations: 214 kB / 291.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004569/0.008333, allocations: 416.5 kB / 292.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.008647, allocations: 327.5 kB / 292.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.103e-05/0.008698, allocations: 41.34 kB / 292.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.009034, allocations: 239.8 kB / 292.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.009216, allocations: 218.4 kB / 292.9 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.009358, allocations: 138.2 kB / 293.1 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.009839, allocations: 0.4913 MB / 293.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.009848, allocations: 5.312 kB / 293.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.009848, allocations: 0 / 293.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.00986, allocations: 4 kB / 293.6 MB, free: 5.406 MB / 282.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.0007844/0.01064, allocations: 0.7365 MB / 294.3 MB, free: 4.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.414e-05/0.01067, allocations: 8.031 kB / 294.3 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.01113, allocations: 213.8 kB / 294.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.01145, allocations: 324.2 kB / 294.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.01146, allocations: 29.38 kB / 294.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-05/0.01155, allocations: 52.67 kB / 294.9 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.01193, allocations: 415 kB / 295.3 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.01194, allocations: 0 / 295.3 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.01197, allocations: 19.98 kB / 295.3 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.01207, allocations: 64.95 kB / 295.4 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.01233, allocations: 221.5 kB / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.01393, allocations: 2 MB / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.01409, allocations: 176.2 kB / 297.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.751e-05/0.01416, allocations: 62 kB / 297.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.01418, allocations: 8.234 kB / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.01421, allocations: 42.55 kB / 297.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.413e-06/0.01421, allocations: 0 / 297.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007541/0.01496, allocations: 0.5735 MB / 298.5 MB, free: 304 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.015, allocations: 81.11 kB / 298.5 MB, free: 204 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.01516, allocations: 262.8 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.01518, allocations: 33.7 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.0153, allocations: 240.8 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.335e-05/0.01538, allocations: 146.7 kB / 299.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/0.01546, allocations: 82.09 kB / 299.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.01555, allocations: 346.7 kB / 299.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.734e-05/0.01562, allocations: 55.81 kB / 299.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.01573, allocations: 193.2 kB / 299.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.01596, allocations: 294.3 kB / 300.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01596, allocations: 4 kB / 300.2 MB, free: 14.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004353/0.0164, allocations: 363.5 kB / 300.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.01641, allocations: 12.03 kB / 300.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000221/0.01663, allocations: 180.7 kB / 300.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/0.01688, allocations: 110 kB / 300.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.01705, allocations: 83.91 kB / 300.9 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.01838, allocations: 2.521 MB / 303.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.01848, allocations: 19.95 kB / 303.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.0185, allocations: 16.06 kB / 303.5 MB, free: 10.89 MB / 298.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.0001053/0.01861, allocations: 140.7 kB / 303.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.01867, allocations: 35.97 kB / 303.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.0189, allocations: 208.7 kB / 303.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.01891, allocations: 15.92 kB / 303.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/0.01892, allocations: 4 kB / 303.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01892, allocations: 0 / 303.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.01942, allocations: 0.5484 MB / 304.4 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01942, allocations: 4 kB / 304.4 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.01964, allocations: 77.05 kB / 304.5 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.0197, allocations: 59.61 kB / 304.5 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.0197, allocations: 4 kB / 304.5 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.01972, allocations: 15.92 kB / 304.6 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01972, allocations: 0 / 304.6 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01972, allocations: 64 / 304.6 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.02003, allocations: 420.5 kB / 305 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.02005, allocations: 8 kB / 305 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.02013, allocations: 8 kB / 305 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.02016, allocations: 27.89 kB / 305 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.02017, allocations: 4 kB / 305 MB, free: 9.266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.887e-05/0.02023, allocations: 88.62 kB / 305.1 MB, free: 9.176 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02023, allocations: 0 / 305.1 MB, free: 9.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.02049, allocations: 115.9 kB / 305.2 MB, free: 9.062 MB / 298.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.0001409/0.02063, allocations: 120.2 kB / 305.3 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.02103, allocations: 462.1 kB / 305.8 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/0.02104, allocations: 7.984 kB / 305.8 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.02113, allocations: 96.94 kB / 305.9 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.02139, allocations: 94.61 kB / 306 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005521/0.02691, allocations: 0.9209 MB / 306.9 MB, free: 7.301 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.762e-05/0.027, allocations: 157.7 kB / 307 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.02712, allocations: 51.25 kB / 307.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.02725, allocations: 111.3 kB / 307.2 MB, free: 6.969 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02725, allocations: 0 / 307.2 MB, free: 6.969 MB / 298.7 MB Notification: Performance of Templates: time 0.006514/0.03377, allocations: 4.766 MB / 312 MB, free: 2.273 MB / 298.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 -ignoreHideResult -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: 2.906417239457369]